You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After initial row selection (by option "rowsSelected") and initial sorting (by "options: {sortDirection: 'asc'}"), when you try to select or unselect row, changes are made to entirely different row.
After clearing selection, selecting of rows works fine.
My guess is that initial selection happens before sorting, thus indexes in selectedRowsData are not the same as in the displayed data.
Expected Behavior
After first render of table with sorting and initial selection, when you select\unselect any row, changes are made to this row.
Current Behavior
After first render of table with sorting and initial selection, when you select\unselect any row, changes are made to different row.
After initial row selection (by option "rowsSelected") and initial sorting (by "options: {sortDirection: 'asc'}"), when you try to select or unselect row, changes are made to entirely different row.
After clearing selection, selecting of rows works fine.
My guess is that initial selection happens before sorting, thus indexes in selectedRowsData are not the same as in the displayed data.
Expected Behavior
After first render of table with sorting and initial selection, when you select\unselect any row, changes are made to this row.
Current Behavior
After first render of table with sorting and initial selection, when you select\unselect any row, changes are made to different row.
Snapshot of options
Environment
The text was updated successfully, but these errors were encountered: