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

Using exclusion filters on DataGrid standard FilterBar in addition to ODatav4Adaptor

I have a question regarding the DataGrid FilterBar Component in Blazor.

I need to support exclusion filters too, for example, "not equal," "not contains," etc. I've noticed that you can set a default filter type for string values, such as "contains" or "startsWith," and the ODatav4Adaptor correctly converts them into the url filter parameters.

Is it possible to select the target filter type at runtime? For example, could a user choose a notContains filter for string values without having to refactor the entire ODatav4Adaptor into a custom adaptor?

If not, are you planning to implement this feature?


1 Reply

BL Balamurugan Lakshmanan Syncfusion Team February 2, 2023 01:28 PM UTC

Hi Pio,

Query: “Using exclusion filters on DataGrid standard FilterBar in addition to ODatav4Adaptor  

Currently We don’t have support for Not operators in Grid filtering action.(i.e.) support to filtering the column using Not contains, Not endswith, not startswith. etc. We have considered this as a feature and logged a feature task Need to provide support for additional filter operators” for this requirement. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer vote count.   

We do not have immediate plan to implement this feature and it will be included in any of our upcoming releases. Please cast your vote to make it count. You can track the current status of your request using the below feedback page.


We suggest you to use the ActionBegin  Event to achieve your requirement. Kindly refer the attached solution file and UG documentation for your reference.


Please let us know if you have any concerns.



Attachment: Filterbar_6a04781c.zip

Live Chat Icon For mobile
Up arrow icon