How to use search with select elements within the table?
How to use search with select elements within the table?
goalie1998
Posts: 1Questions: 1Answers: 0
In my table I have prefilled form data in select elements. Is there a way to allow the search methods - individual column searching (select inputs) and the general table search to only include the prefilled (selected) items?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There is currently no option for that in DataTables Iām sorry to say. We can do live DOM sorting, which has an impact on filtering as well, but there is no way to limit the search to just the DOM selected values. Sorry.
Allan
Similar to the example Allan posted, this also shows how to to the filtering: http://live.datatables.net/sazomuwi/1/edit
Colin