Skip to content

datatables 2.x version issues#694

Open
louking wants to merge 4 commits into
vedmack:masterfrom
louking:master
Open

datatables 2.x version issues#694
louking wants to merge 4 commits into
vedmack:masterfrom
louking:master

Conversation

@louking

@louking louking commented Apr 29, 2026

Copy link
Copy Markdown
Contributor
  • appendFilters was using table_selector after it had been overwritten when scrollX/Y active (lines 3270-3272)
  • dataTables 2.x dropped fnSettings() in favor of settings()
  • when using $.fn.yadcf (jQuery plugin), this (the jQuery object) is passed as oTable to initAndBindTable, so oTable is a jQuery object — not a DataTables API object. But the DataTables 2 path at line 3281 calls oTable.table() which only exists on a DataTables API instance. The fix is to wrap oTable with new $.fn.dataTable.Api(oTable), which already handles jQuery objects (same pattern used in getSettingsObjFromTable).
  • table_arg needed normalization for external functions

@vedmack vedmack left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contribution! gonna update the showcase page with this and prompte to yadcf 2.0.1.beta.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants