How can I iterate through all of the rows in a grid when there are outlook group by rows? When I try to just go through the rows collection, it is return a UltraGridGroupByRow object?
Thanks
Scott
You can iterate through all rows in the grid in all bands with this method:
grid.Rows.GetRowEnumerator(GridRowType.DataRow, null, null);
The last two parameters are used to get rows of some of the bands.
Thanks - that helped - what event should I use to iterate through the grid to checek for a checkbox variable count? I tried AfterCellUpdate but doesn't seem to know it is checked
For Each ur As UltraGridRow In UltraGrid1.Rows.GetRowEnumerator(GridRowType.DataRow, Nothing, Nothing)
MsgBox(ur.Cells(
"FileSize").Value)
Next
For
Each ur As UltraGridRow In UltraGrid1.Rows.GetRowEnumerator(GridRowType.DataRow, Nothing, Nothing
)
If ur.Cells("Select").Value = 1
Then
).Value)
End
If