JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › On the mixed use of sorting and editing functions › Reply To: On the mixed use of sorting and editing functions
December 15, 2020 at 8:56 am
#101241
admin
Keymaster
Hi LC,
The selection with sorting behavior is the same as in the most datagrids available and is always by the Row ID. The ‘select’ method accepts a row id as an argument.
To select a row by its index, you can use this: grid.rows[0].selected = true; to select a first row.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/