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

Support DataTables v2 #145

Closed sadeghbarati closed 1 month ago

sadeghbarati commented 7 months ago

@mpryvkin

https://cdn.datatables.net/2.0.0

DataTables v2 deprecated/removed internal API so it should use public APIs but I don't know how and can't make a PR. The Release Changelog is not clear

The error line after I update DataTables to v2 https://github.com/gyrocode/jquery-datatables-checkboxes/blob/master/js/dataTables.checkboxes.js#L150

sadeghbarati commented 7 months ago

@AllanJard sry for mentioning and thanks for v2

mpryvkin commented 7 months ago

Thank you for your report! I definitely used some undocumented methods to improve performance or add functionality (such as DataTable.ext.internal._fnColumnOptions) so will look into adding support for DataTables v2.0.

DPComp commented 5 months ago

When will this be online for us to update?

pichutan commented 2 months ago

Hey there, Any timeframe when a official version for datatables 2.0.3 will be available?

mpryvkin commented 2 months ago

@pichutan, planning to release preliminary version later this month inspired by suggestions in patch #145 by @alexsilva.

pichutan commented 2 months ago

Hey @mpryvkin, I'm glad to hear this! Thank you!

diesl commented 2 months ago

@mpryvkin I just wanted to note that DataTables 2.1 has been released in the meantime. Maybe you can check for compatibility with the new version as well

mpryvkin commented 2 months ago

@diesl, thank you!

mpryvkin commented 2 months ago

Added a new branch with jQuery DataTables v2 support inspired by PR #147 by @alexsilva. @alexsilva, @sadeghbarati, and @diesl, please test in your code and let me know if you see any issues. Thank you!

pichutan commented 2 months ago

Hey @mpryvkin ,

I tested it with DT 2.1.3 and BT5 and it seems to work. There is also no error in the log, but I just initialized it and did no further testing about functionalities.

pichutan commented 1 month ago

Hey there, I would like to ask again - maybe somebody else tested it? I would love to use a new released version 👍

mpryvkin commented 1 month ago

Released 1.3.0 adding support for jQuery DataTables v2. Will continue to test and improve if any issues would be detected.