Filtering with buttons for elements
Filtering with buttons for elements
mbaas
Posts: 67Questions: 24Answers: 1
I would like to add filtering to my datatable...with a nice UI, compareable with https://www.datatables.net/reference/option/ - but I'm temporarily blinded or stupid and did not seem to find the right approach for that. Are there any demos floating around somewhere which would illustrate that or could someone pls. give a few hints? (If it helps, I'm also using yadcf)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This is the code that I use for that page:
The key is that you need to build a search term for the
column().search()
call.Allan
Cool - thanks very much. I think I may actually be able to get something going with that! ;-)
What is value of ref_table?
Its an API instance - e.g.:
Allan