Datatables with MultiFilter, MultiFilterSelect and Preselection (Search AND Select Filter)
Datatables with MultiFilter, MultiFilterSelect and Preselection (Search AND Select Filter)
See this fiddle:
https://jsfiddle.net/ckmuc/83n1uxsd/7/
Most of my needs do work - however I cannot find out, on how to combine a "Select Filter" and a search when initially loading the page.
When running the fiddle, the search for '2009' is already working. I would also like the "Office" dropdown to be populated with "San Francisco" (on inital loading of the table without any user interaction).
I tried a lot of the suggested solutions from the forum here and on StackOverflow - but to no success ...
Answers
In case someone is facing a similar issue, here is ONE solution ... not the most elegant one, but at least it works:
http://stackoverflow.com/questions/42174742/
https://jsfiddle.net/ckmuc/4h0vyc45/
FWI, All of this and much more can be achieved easily with my yadcf plugin for datatables