gyrocode / jquery-datatables-checkboxes

Checkboxes is an extension for the jQuery DataTables library that provides universal solution for working with checkboxes in a table.
https://www.gyrocode.com/projects/jquery-datatables-checkboxes/
MIT License
150 stars 61 forks source link

toggle checkbox after the initialization #137

Open sabitrakhanal opened 2 years ago

sabitrakhanal commented 2 years ago

How can we select/check or deselect/uncheck the checkbox after the initialization? I have a server side enabled datatables with thousands of record so I would like to select the row when the data is entered on textbox.

leomontenegro6 commented 1 year ago

I got a similar scenario on a table with a few thousand users loaded with server-side pagination. I managed to instantiate the component with all options unselected and make it work for selecting users in my context. But when I already have pre-selected users, I have trouble making the datatable component maintain their checkboxes checked.