Is it possible for cascading search panes to have a tolerance adjustment?

Is it possible for cascading search panes to have a tolerance adjustment?

dougicgdougicg Posts: 1Questions: 1Answers: 0

I need certain columns on my datatable to be searchable but have a tolerance of 10% of the value. So for example if the value searching for is 10 it would include 9 and 11 as matched results.

I can create what I need using names search filters such as that used in https://datatables.net/examples/plug-ins/range_filtering.html

But I need to be able to use cascading search panes as referenced here:

https://datatables.net/extensions/searchpanes/examples/initialisation/cascadePanes.html

So for example if I was using the Age column and 20 as the value, how can I get the results to match 18 through to 22, which is 10% of the selected value?

Sign In or Register to comment.