Select list do not filter data table !?

Select list do not filter data table !?

amrelseadyamrelseady Posts: 1Questions: 1Answers: 0
edited September 2020 in Free community support

```
$("#itemDetail").change(function () {
var table = $("#NormalRangeTable").DataTable();
console.log('Groing for folter : ' + this.value);

        table.search(this.value).draw();
    })

```

I tried this code, I want when I change the value of select list the table get filtered, according to the value, note that the value of of select list is in hidden column at table represent itemId

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. 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.

    Cheers,

    Colin

This discussion has been closed.