Checkbox Filter

Checkbox Filter

CryptoStatCryptoStat Posts: 2Questions: 2Answers: 0

Hey!
First time user of dataTables and got to say I love it :D
Got a problem I'm trying to figure out so any help would be greatly appreciated

I got a table setup on this site:
cryptostat.org

However, I would love a checkbox button that would be [ ] volume over 500 for example and will only display volume over 500 while still allowing for search and asc/desc order of other columns

Kind regards

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765
    Answer ✓

    Even though this example shows how to use regex searching the fundamentals would be the same:
    https://datatables.net/examples/api/regex.html

    You could have an event for your checkbox and call a function to perform the column search for > 500 or whatever is desired.

    Kevin

This discussion has been closed.