So I have a sheet with some columns that are of the dropdown type with selectItems created from a list of POJO's.
That means that the selectItems value will be (in my case) an int. This poses a problem with the filter as that is implemented with only a "contains" rule.
So filtering on the value 1 will return 1's but also 10's, 11's, and so on.
I was a bit suprised that no one needed different rules up until now.
I have already implemented a filterMatchMode attribute and it does the job. Possible math rules are: "startsWith", "endsWith", "contains" and "exact".
Would you like a PR for that?
Sheet: needs filterMatchMode
Yes please. No one happens to have asked for this yet.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Nice sent you one minor code review comment to add to your PR and it will be good.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests