Filter with input/select form

Filter with input/select form

CaptainNemoCaptainNemo 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

Answers

  • CaptainNemoCaptainNemo Posts: 13Questions: 6Answers: 1

    Up !

  • gb40gb40 Posts: 3Questions: 1Answers: 1
    edited December 2016 Answer ✓

    Example doesn't work for the select field.

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    Is it normal ?

    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.

This discussion has been closed.