How can I determine which filter and filter value the user has selected?
This question has an accepted answers - jump to answer
Hi @vladi ,
If you mean the search box then you can use search().
If that is not what you meant can you please provide some more details and a test case. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
The user has selected a value from the filter (list), how can I determine which value he has selected? How can I find out which filter he used? Is there an event that shows the selection of the filter value?
The best way to do this is probably to write your own jQuery listener for changes on that select element. You should then be able to find the element with the selected attribute. It's not something that is built into DataTables.
@sandy thanks Sandy!
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.