Hi !
I want to loop through the displayed rows on current page. I know about the InitializeRow event, but it seems to loop through the entire set of data.
My grid retrieves 3000 rows and uses paging, so I don't want to loop through these thousands of rows, only through the 25 rows displayed.
Can someone help me on that subject please ?
Thx,
Fred
Thanks a lot, it works fine (I loop through the grid.rows collection in Page_PreRender event).
Oh and Make sure you are looping "AFTER" the grid has been loaded and/or after the datasource has been bound to the control
'VB.NETImports Infragistics.WebUI.UltraWebGrid
Dim igRow As UltraGridRowFor Each igRow In myGrid.Rows 'igRow.Cells(0).Value="FRED"Next
//C#using Infragistics.WebUI.UltraWebGrid;{ UltraGridRow igRow; foreach ( igRow in myGrid.Rows) { //igRow.Cells(0).Value="FRED" } }