Skip to content
Advertisement

Data Table with custom select box not working

I am displaying data table in the web page, I want to add an additional filter to get results based on clinic name I got data table displayed and all other functionalities like searching, sorting work fine but column filtering is not working

Following is my code

JavaScript

I refereed this from [https://datatables.net/examples/api/multi_filter_select.html]

But why values are not showing,

Is there are any other options to add Select drop-down to show values of clinic name from PHP database, and on clicking that I want to filter the data on the table

Advertisement

Answer

Please check whether your table have <tfoot> this require tfoot element to works

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement