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
I would like to discuss a new feature to keep the table with the same sorting data on screen after the user has changed the visible row information.
As it is, if you sort the column "numbers" as ASC:
numbers
1
2
6
10
and then change the value "2" to "8", for example, the table will refresh like this:
numbers
1
6
8
10
But, what I want is to keep it like it were with the new value:
numbers
1
8
6
10
A possible solution would be to implement a new parameter into the table to store the changed rows and a new function in getSortedRowModel where, before you return the sortedData, you would get these rows and place them in their original position.
The user would need to provide the table with the changed rows in order to use the feature, otherwise it would behave as usual.
The text was updated successfully, but these errors were encountered:
GSousaGabriel
changed the title
Keep sorting order after changing row information
[Feature] Keep sorting order after changing row information
Nov 5, 2024
I would like to discuss a new feature to keep the table with the same sorting data on screen after the user has changed the visible row information.
As it is, if you sort the column "numbers" as ASC:
and then change the value "2" to "8", for example, the table will refresh like this:
But, what I want is to keep it like it were with the new value:
A possible solution would be to implement a new parameter into the table to store the changed rows and a new function in getSortedRowModel where, before you return the sortedData, you would get these rows and place them in their original position.
The user would need to provide the table with the changed rows in order to use the feature, otherwise it would behave as usual.
The text was updated successfully, but these errors were encountered: