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.

Checkboxes not persistent across all pages

See original GitHub issue

Hi,

I’m new to ng2-smart-tables. I want to modify this example in the GitHub repo which uses the selectMode : 'multi' option to show a column with checkboxes. The checkboxes do show, but every time I use the pagination links to go to another page, the selection is cleared. I tried to find documentation on how to persist the selection across pages, but was not successful. Is there any documentation on this? If not how can I accomplish this? Is there any documentation beyond what’s covered at this link?

Thanks for any help.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
OmisNomiscommented, Nov 13, 2017

Can this be marked as solved? @ssharma674

0reactions
josipoviciwancommented, Feb 25, 2021

I used this snippet and it solved this problem for me perfectly https://gitmemory.com/issue/akveo/ng2-smart-table/935/586401997

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng2 smart table check boxes not persistent across all pages
I tried to find documentation on how to persist the selection across pages, but was not successful as only a limited amount of...
Read more >
Quick Tip: Persist Checkbox Checked State after Page Reload
This quick tip describes how to have your browser remember the state of checkboxes once a page has been refreshed or a user...
Read more >
Unable to remember checkboxes across pages - DataTables
I have a table that spans multiple paginated pages in DataTables - the first column is checkboxes, all of which have a unique...
Read more >
'check all checkbox' not working on spawned pages
Thanks all for your input. I found a thread which works perfectly: var cPreFix = ""; // get prefix elements for spawned pages; ......
Read more >
Checkbox Fields - DocuSign Support
The checkbox field can be added to your document as a single box or a group of multiple boxes. A checkbox group can...
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