API search with number comparison in version < 2.0
API search with number comparison in version < 2.0
ptr
Posts: 2Questions: 1Answers: 0
Description of problem:
Hi!
Is there a way to use the search() API to filter rows where a column value is greater than X in datatables version < 2.0
(I am using datatables through the R DT package, which does not support v2 yet)
I know I can use:
dt.column(1).search(1234).draw();
to search for the specific value 1234, but I want to search for values greater than 1234.
Thanks!
This question has an accepted answers - jump to answer
Answers
You will need to create a search plugin, similar to this range search example.
Kevin
thanks, that worked!