I want to set all of the visible rows to the computed height each time the grid is scrolled. I can get the index of the first visible row, and then change the next 10. If the grid is sorted or grouped, just add to the index of the firstvisbile row doesn’t work as they are no longer sequential. Any way to do this for sorted grids?
Imported from legacy forums. Posted by Joseph (had 2116 views)
The gridcontrol has a method <b>GetSortedDataRows</b>, that returns a <b>ReadOnlyDataList</b>, with all the datarows in their sorted order.<code>myRows = myGrid.GetSortedDataRows(true); // true = recursive (in groups) index = myRows.IndexOf(myGrid.FirstVisibleRow); …</code>
Imported from legacy forums. Posted by Tommy (had 2933 views)