i have added checkbox in datatables but i am not able to check all using button click
i have added checkbox in datatables but i am not able to check all using button click
sanyog
Posts: 4Questions: 1Answers: 0
i have added checkbox in datatables but i am not able to check all using button click
This discussion has been closed.
Answers
Can anybody help me out on this i am using datatable version 1.9.4.
please help me out on this
any help appriciated
For the visible columns, you can use a regular event handler to check them, something like what I did here: http://jsbin.com/mevahol/edit?js,console,output
If you are using paging, those checkboxes will not be affected. You will need to update the checkbox values in your data and invalidate and redraw the table.