Filter based on selected item in drop down list
Filter based on selected item in drop down list
captainmoe
Posts: 2Questions: 0Answers: 0
First let me say I love the DataTables plugin it has worked wonders on my tables, and made my life a whole lot easier!
I have a column in my table, each cell of that column has a drop down menu. Using html style formatting. Out of the however many options are in the drop down menu one is always marked as selected using html selected=selected.
What I want to be able to have the filter to consider the value of the selected option as the value of the cell in terms of filtering, and disregard everything else.
Is this possible? I'm not seeing how it can be done using just fnFilter().
If somebody could point me in the right direction I would greatly appreciate it :D
I have a column in my table, each cell of that column has a drop down menu. Using html style formatting. Out of the however many options are in the drop down menu one is always marked as selected using html selected=selected.
What I want to be able to have the filter to consider the value of the selected option as the value of the cell in terms of filtering, and disregard everything else.
Is this possible? I'm not seeing how it can be done using just fnFilter().
If somebody could point me in the right direction I would greatly appreciate it :D
This discussion has been closed.
Replies
Allan