Please note: In an effort to better serve you, we are in the process of restructuring DevCenter.
In the process, we have moved many items that you may be used to finding in DevCenter over to the
Main Site. If you are having trouble locating something,
please try looking at the following places:
Looping through the rows in the grid can be done recursively by first traversing the grid's Rows collection and then using the ChildBands property of each row to get it's children.
Note: This article applies mainly to versions of the UltraGrid prior to v6.1. In v6.1, a new method was added to the UltraGridBand and the UltraGridRowCollection. The new method is called GetRowEnumerator and it allows you to get an enumerator that spans multiple bands of the grid. See the "GetRowEnumerator" method in the help for more information and sample code. Following code shows you how to traverse through all the rows in the UltraGrid. It finds out the number of regular rows (non-group-by rows) and number of group-by rows and shows the counts.[In Visual Basic]