Reinitialize Dropdown Filters
Reinitialize Dropdown Filters
Hi there,
I have a datatable with multi-select filtering and it works fine.
However, when I filter the table with these dropdowns, the contents of the dropdowns remain same.
For example, for below table, if I filter it with Status Active, Job filter will still have options Accountant, Developer, Engineer, instead of just Engineer.
ID - Name - Status - Job
1 - Jack - Active - Engineer
2 - Jane - Passive - Developer
3 - John - Active - Engineer
4 - Joe - Passive - Accountant
Any help is appreciated.
Answers
In case you are looking for cumulative filtering you can try my yadcf plugin, see showcase page http://yadcf-showcase.appspot.com/cumulative_filtering.html, docs are inside the js file