You need to sign in to do that
Don't have an account?
Rahul Rana 32
checkboxes in lightning:datatable are getting unchecked.
Hi Lightning Experts,
I'm dsplaying my object records in a lightning datatable in checkboxes and pagination. I'm facing below 2 issues:
1. If I'm selecting some checkboxes on a page and moving to another page using pagination, the checked checkboxes are getting unchecked.
2. I'd like to show all the checked checkboxes first in the datatable and then all the unchecked.(sort by checked checkboxes) after I save the changes.
Kindly suggest the solutions to above questions. Thank you in advance.
I'm dsplaying my object records in a lightning datatable in checkboxes and pagination. I'm facing below 2 issues:
1. If I'm selecting some checkboxes on a page and moving to another page using pagination, the checked checkboxes are getting unchecked.
2. I'd like to show all the checked checkboxes first in the datatable and then all the unchecked.(sort by checked checkboxes) after I save the changes.
Kindly suggest the solutions to above questions. Thank you in advance.
When you paginate, the data on controller side is overwritten once you come back to the previous page.