Set default value in filter drop-down based on row click
Set default value in filter drop-down based on row click
ripwit
Posts: 4Questions: 0Answers: 0
I have a multi-column table where I can filter three of these columns using fnFilter, fnGetColumnData with a case-insensitive sort. (What a great set of community-supplied resources!)
What I would like to do is to be able to click on a cell in one of these columns and have the value in that cell become the content in the appropriate filter drop-down box, causing a table redraw with only those rows matching that value to be displayed. The drop-down box would still maintain the full list of possible values so that the user could cancel the filter by selecting the first, blank one.
What I would like to do is to be able to click on a cell in one of these columns and have the value in that cell become the content in the appropriate filter drop-down box, causing a table redraw with only those rows matching that value to be displayed. The drop-down box would still maintain the full list of possible values so that the user could cancel the filter by selecting the first, blank one.
This discussion has been closed.