How I can run for loop only filtered rows into UltraGrid? Suppose I've a Ultra grid about 1000 rows. But I need only run loop for 5 rows which I shall get by filtering
foreach (UltraGridRow row in grdMerchandiserToBuyer.Rows)
{
}
This code fetch all rows, but I want only filtered Rows into this Grid
Please help me if anyone know that Thanks
The
UltraGrid.Rowsproperty is of typeRowsCollection, which has a methodGetFilteredInNonGroupByRows. You should be able to do something like this:https://www.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.rowscollection~getfilteredinnongroupbyrows