Filter with input/select form
Filter with input/select form
CaptainNemo
Posts: 13Questions: 6Answers: 1
Hi,
On this page : https://datatables.net/examples/plug-ins/dom_sort.html
We can learn to filter on a table, containing select and input field.
If you type something like "account" in the search field, the table is correctly filtered. 2 rows contain "Accountant" in a text field, so it's ok.
Type "tokyo", and nothing is filtered...However, there is 5 rows with select field "Tokyo"
Is it normal ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Up !
Example doesn't work for the select field.
Yes. "Position" is an input field, and thus may be searched. "Office" is a "select", so you would use the dropdown select rather than the search box.