Search w/ a List
Search w/ a List
somobetech
Posts: 3Questions: 2Answers: 0
Hello, when a user selects multiple values on my visualization, I would like to redraw my DataTable and display the rows that equate to those values. My function is similar to:
`// clicked function
function clicked(d) {
var table = $('#table').DataTable();
table
.columns(0) //column to search on
.search(d.County) // search Counties
.draw();
}`
Where d.County is a list of values. It looks like the DataTable is only displaying 1 value at a time and not the entire list. Could anyone guide me in the right direction?
This discussion has been closed.
Answers
Bump