Datatables works on certain tables but not others.
-
I have a test table that’s written in plane HTML, the datatables plugin works great for that simple table. But if I attempt to use the plugin in conjunction with a table that’s generated via another plugin and inserted /w a shortcode, the table style is applied, the search box appears but sorting/searching doesn’t work.
Any idea what might be the cause? The table is generated as plain HTML and for all intents and purposes should work just fine.
When I look at the table, the datatable plugin seems to be mangling the table, adding extraneous <theads> that seem to be causing it to render the actual table sorting/searching features inoperable.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Datatables works on certain tables but not others.’ is closed to new replies.