AD
Administrator
Syncfusion Team
August 20, 2003 07:24 PM UTC
Before sorting, you could add a 'hidden' column, and in this column put a 0 or 1 to indicate that the row is selected. Then when you sort this indicator will move with the sort. So, after the sort you could loop thorugh the column to see what rows should be selected in the sorted grid.
Better yet, instead of adding the extra column, you could put the 0 or 1 in style.Tag of the row header's style object.
I don't know whether this would be more efficient of just searching through rows after the sort.