Skip to content

clintmcmahon/add-filter-datatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Add Custom Filter Select Dropdown Menu To A DataTable

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.