We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Make Enum Column CaseSensitive

Hello guys,


I have an Angular Grid connected to an Odatav4 endpoint, everything works well expect on the Column that is bound to an Enum value,

The problem is that syncfusion will apply tolower on every filter request, this is not a problem on normal string columns, but it is for the Enum column,


the generated query:

/?$expand=Name&$count=true&$filter=(tolower(Rank)%20eq%20%27captain%27)


What it should be:

/?$expand=Name&$count=true&$filter=((Rank)%20eq%20%27Captain%27)



Thanks for your help :)


1 Reply

RR Rajapandi Ravi Syncfusion Team December 5, 2022 11:25 AM UTC

Hi Tristan,


Greetings from Syncfusion support


From your query we could see that you are using a Enum column in Angular Grid with OdataV4 adaptor, before we start providing solution to your query, we need some information for our clarification. So, please share the below details that will be helpful for us to provide better solution.


1)          Please share your complete Grid rendering code, we would like to check what features you are using and also how you are defining the Enum column.


2)          Share your syncfusion package version.


3)          If possible, share a simple issue reproducible sample.


Regards,

Rajapandi R


Loader.
Live Chat Icon For mobile
Up arrow icon