Column Filtering with Select Dropdowns

Column Filtering with Select Dropdowns

wphamptonwphampton Posts: 4Questions: 2Answers: 0

Hey folks, using this example (http://www.datatables.net/examples/api/multi_filter_select.html) I wanted to have a column filter dropdown built based on the data-filter tag in the <td> tag. In the linked test case is there a better way to build the dropdown for the Status column, possibly even adhering to the data-order column for the sorting? It's working as desired right now but seems like a bit too much code to just build the unique select options based on data-filter attribute. Thanks!

http://live.datatables.net/tamixov/1/edit?html,js,output

Answers

This discussion has been closed.