Datatable filter numeric between two values

Hey there,

I have a DataTable where I would like to filter a numeric type column between two specific values.
Something like “>20 and <50” or “between(20, 50)”.

My understanding is that this cannot happen with the native filtering, but I really don’t want to get into backend filtering for such a simple query.

It would really be such a useful filter for numeric types, as I always find myself trying to filter between two values.
Is there any chance that you can support this feature?


Hello kle!

In this link you can find an example of what you may be looking for:

The example is Highlighting a range of values. The property you need to set is style_data_conditional.

Screenshot 2021-09-24 152818

Hello carlosp,

Thank you for the answer, but I don’t think that it can help in my case.
I’m not interested in styling the table’s data, but in actually filtering the table, through the native filters.

Seems like this is not really possible, so I’ve ended up using the “Advanced Filter usage” example from this page