Skip to content

datatables 2.x version issues#694

Merged
vedmack merged 4 commits into
vedmack:masterfrom
louking:master
Jul 11, 2026
Merged

datatables 2.x version issues#694
vedmack merged 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

@cweiske

cweiske commented Jul 8, 2026

Copy link
Copy Markdown

Related: #681

@vedmack vedmack merged commit 421512c into vedmack:master Jul 11, 2026
@vedmack

vedmack commented Jul 11, 2026

Copy link
Copy Markdown
Owner

@louking sorry, my bad, forgot to merge your PR, so I just did now

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.

3 participants