#101239
admin
Keymaster

Hi LC,
The selection is by row, not by index. When you select a row and change the sort order, the row stays selected even if it is not in the same position in the data grid. For example, select the row with first name = “Andrew”. Now change the sort order. The row remains selected after changing the sort order.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/