Filter rows by many data-* attributes
Filter rows by many data-* attributes

I have a datatable with table rows like this:
<tr data-cat="First" data-game="Four Kingdoms"></tr>
<tr data-cat="Second" data-game="The Cars"></tr>
And two select fields where I can choose a category / game.
How do I filter the rows by their data-* attributes (the multi filtering must be 'AND' logic)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi hotsaucebg3,
You can define your own custom search function as described on this page.
Hope this helps,
Sandy
Thanks, I've managed to do this, here's the code(it may help someone)