question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keep selected row after "setData"

See original GitHub issue

Hi 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:

  1. Select a row.
  2. Open a dialog and edit the data selected in the row.
  3. 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
olifolkerdcommented, Feb 11, 2017

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

0reactions
leonardoramecommented, Jan 28, 2017

Thanks I’m looking forward for the next release.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found