Searching for percentages

Searching for percentages

SoreboSorebo Posts: 6Questions: 3Answers: 0

Hi there.

I am currently creating a multiselect checkbox filter called 'probability', it contains these values: 0 %, 10 %, 30 %, 60 % and 100 %.

However when i try to search for 0 % in the column it does not filter any, this is probably because every other value contains '0 %'.

My search looks like this:

Table.columns(0).search(probRegex, true);

Where probRegex could look like (0 % | 30 % | 60 % )

How can I make searches for 0 % and 10 % only return those that has this specific value?

Thanks for any help!

Answers

  • SoreboSorebo Posts: 6Questions: 3Answers: 0

    Is this something that can be solved with disabling smart search?
    When I set smart search to false, I could filter '10 %' correctly and not having those with '100 %' show up. However, the '0 %' filter still does not work even with smart search disabled.

This discussion has been closed.