Column Filtering with Ajax Loaded table

Column Filtering with Ajax Loaded table

st4rnin3st4rnin3 Posts: 2Questions: 2Answers: 0
edited November 2015 in DataTables 1.10

I am trying to do this: https://datatables.net/examples/api/multi_filter_select.html

but I am pulling the data from an AJAX call and my table has no footer. I tried adding in a <tfoot> tag in my empty table to no avail.

anyone successfully done this?

Answers

  • allanallan Posts: 61,896Questions: 1Answers: 10,145 Site admin

    You'd need to add the footer using standard jQuery / DOM methods (not just an empty tfoot but the cells as well) - DataTables doesn't have an option to create footer elements at the moment.

    Allan

This discussion has been closed.