selectall checkbox apart from pagination checked or unchecked checkboxes all pages
selectall checkbox apart from pagination checked or unchecked checkboxes all pages
venkateshkommireddy
Posts: 3Questions: 1Answers: 0
My "select all" check box is in the header. So when i check it, all the checkboxes from current pages gets selected .
Here is my requirement.
1. I want to select rows from all pages only using selectAll checkbox.
2. When I click on selectAll checkbox all the rows from all page gets selected but when I move to next page it shows selectall checkbox as selected rows from that page selected.
Quick help will be appreciated.
This discussion has been closed.
Replies
How are you selecting the rows? Can you build a simple test case shwoing what you have so we can offer suggestions?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
If you are using server side processing then the only rows at the client are those shown on the page. In this case you will need to update all the checkboxes on the server so when the client fetches the next page they will show checked or unchecked.
If using client side processing you will likely need to incorporate the use of
column().nodes()
.Kevin