Need a Select All button to select only current page rows
Need a Select All button to select only current page rows
Rajar
Posts: 1Questions: 0Answers: 0
Hi All,
We are using data tables with pagination and we need a select all checkbox in the header row, which would select only the rows in the current page. When you have selected first page, if you go to next page, the select all checkbox should be unchecked and if you check, it should select second page rows. And if you go back to page 1, it should still show selected rows and the select all checkbox checked.
I could not find a solution for this, as everyone had asked how to select every row in all pages, this is kind of distinct scenario. Please help us.
We are using data tables with pagination and we need a select all checkbox in the header row, which would select only the rows in the current page. When you have selected first page, if you go to next page, the select all checkbox should be unchecked and if you check, it should select second page rows. And if you go back to page 1, it should still show selected rows and the select all checkbox checked.
I could not find a solution for this, as everyone had asked how to select every row in all pages, this is kind of distinct scenario. Please help us.
This discussion has been closed.