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

Fix #145 to datatable v2.0.3 #147

Open alexsilva opened 3 months ago

alexsilva commented 3 months ago

I was already using the lib in version 1.x of the datatable, but when migrating to version 2.x, I got the failure described in issue #145 I made the corrections based on version 2.0.3 of the datatable (the internal apis are private were copied to source).

DPComp commented 3 months ago

how can I download your corrections?

alexsilva commented 3 months ago

how can I download your corrections?

I generated a "compiled" version v1.3.0 with the Source

DPComp commented 3 months ago

how can I download your corrections?

I generated a "compiled" version v1.3.0 with the Source

Alex, I updated the js files + datatables 2.0.3 It stoped the failure, but it also stoped working... it's not showing the checkboxes anymore

example

columnDefs: [{ targets: 0, orderable: false, checkboxes: { selectRow: true }, },

this used to show a column with checkbox in the 1st row, and in the datatables 2.0.3 + your correction v1.3.0, it's not

alexsilva commented 3 months ago

@DPComp

how can I download your corrections?

I generated a "compiled" version v1.3.0 with the Source

Alex, I updated the js files + datatables 2.0.3 It stoped the failure, but it also stoped working... it's not showing the checkboxes anymore

example

columnDefs: [{ targets: 0, orderable: false, checkboxes: { selectRow: true }, },

this used to show a column with checkbox in the 1st row, and in the datatables 2.0.3 + your correction v1.3.0, it's not

I updated the source with a fix for this described problem.

I kept the version but generated a new min code.