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

A Question on FilterBar

Hi,
searching on the Documentation, I understand that when I use the FilterBar mode for filtering the data on the Grid, the only operator for the String columns is the "startsWith".
Is it Correct?
Or there is a sintax to write a different operator (like contains) in the filter textbox?

If this is the behaviour, Do I need to use the Menu mode for filtering with "contains clause"?

    Thanks in advance

    Andrea Perazzolo

1 Reply

AS Alan Sangeeth S Syncfusion Team February 10, 2015 05:23 AM UTC

Hi Andrea,

Thanks for using Syncfusion Products.

It is the default behavior that the operator for string columns is "startsWith" and integer column is “equal”. But we can also change the grid filter bar’s default operator. Please refer the following KB link for further details.

https://www.syncfusion.com/kb/3369/how-to-change-the-default-comparison-operator-of-the-filter-bar

And with “Menu” FilterType in Grid, we will have option to choose the operator from the dropdown in Filter Menu.

Please let us know if you need any further assistance.

Regards,
Alan Sangeeth S



Loader.
Live Chat Icon For mobile
Up arrow icon