Keep selected row after "setData"
See original GitHub issueHi Oli, I would like to know if there’s way to do this with Tabulator.
My grid has the property selectable: true
. What I want to do is:
- Select a row.
- Open a dialog and edit the data selected in the row.
- After editing call
.tabulator("setData")
to refresh the grid and keep the original row selected.
What I’m looking for is how to solve point number 3. What happens now is when I refresh the grid, the selected rows aren’t selected anymore.
Regards, Leonardo.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to maintain selected row after datasource changed in ...
i want to keep the current selected row selected if the user click on GET and new data retrieved from database. any idea...
Read more >How to maintain selected rows in DataGridView when mouse ...
I want to be able to select multiple rows and click on any of the selected row's cells to begin the drag operation....
Read more >Preserve selected row after data refresh? | Infragistics Forums
Once refreshed, the user has to remember which record they had previously selected and they begin to hunt (drill back into the data)...
Read more >Row Selection - Tabulator
By default Tabulator will maintain selected rows when the table is filtered, sorted or paginated (but NOT when the setData function is used)....
Read more >How to get the data of selected rows in ag-Grid
Firstly, row selection must be enabled by setting gridOptions.rowSelection to either "single" or "mulitple" , depending on the selection ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have just upgraded the row selection features to allow for selection persistence when sorting, filtering and paging data.
More information can be found here
Cheers
Oli
Thanks I’m looking forward for the next release.