JQuery DataTable Column Filter - External Form - pre-selected filter
JQuery DataTable Column Filter - External Form - pre-selected filter
alussc
Posts: 18Questions: 0Answers: 0
Hi,
we use the Query DataTable Column Filter Plugin (External Form)
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/external.html]
to get our data filtered. Example:
[code]{ type:"select", sSelector: "#Filter", values: ['Option1', 'Option2', 'Option3'] }[/code]
I would like to set the first Option as default (not "All"), Option2 (and Option 3 and so on) should be a subset of Option1 (that means it should filter the data for two key words (Option1 and Option2 ) but should only show Option2) and the All-Option (unfiltered table) should be shown as last one in the list.
Any ideas how to make this work?
Regards, aluscc
we use the Query DataTable Column Filter Plugin (External Form)
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/external.html]
to get our data filtered. Example:
[code]{ type:"select", sSelector: "#Filter", values: ['Option1', 'Option2', 'Option3'] }[/code]
I would like to set the first Option as default (not "All"), Option2 (and Option 3 and so on) should be a subset of Option1 (that means it should filter the data for two key words (Option1 and Option2 ) but should only show Option2) and the All-Option (unfiltered table) should be shown as last one in the list.
Any ideas how to make this work?
Regards, aluscc
This discussion has been closed.
Replies
By the way: I realized the thread was posted in the wrong subforum - could an admin move it to "Plug-ins" or "General"?
Allan
I'ld like to initialize the table with some rows hidden. The hidden rows have a common keyword to indicate them. But it should be possible to make the hidden rows visible (only these!) by clicking on a select-menu entry (like here http://www.datatables.net/release-datatables/examples/api/multi_filter_select.html). Any Idea?
The only thing I couldn't resolve until now is how change the position of the "All"-Select-Entry on top (the default setting of the filter, that means an empty filter), that seems not to be defined anywhere...