This code shows how to add a custom search filter drop-down to the header of a DataTable. It creates a drop-down menu that displays the unique list of strings from a column called Category. When the user selects a category from the dropdown-menu, the datatable will be rendered with only records with the Category from the selected value.
critter / add-filter-datatable Goto Github PK
View Code? Open in Web Editor NEWThis project forked from clintmcmahon/add-filter-datatable
Add a custom filter dropdown to DataTables
Home Page: https://clintmcmahon.github.io/add-filter-datatable/