I’m trying to set filters in my blazor grid, so I’m calling grid.AddFilter() and that works well enough.
However: Calling the method like grid.AddFilter(nameof(Class.Property), $"contains Andrew or contains Nancy"); sets the filter of the grid to: contains Andrew *AND* contains Nancy.
The problem being the filter conditions are set to *AND* instead of *OR*.
I couldn’t reproduce your problem, may you send us a demo project or a sample component here: support@jqwidgets.com?
Click here to download a simple demo that shows your desired behaviour: https://easyupload.io/b6t1o5
I think it’s only a visual bug if the state of the filter is displayed in the GridHeader as opposed to the column itself (like in your example).
You’ll see that the grid sets and applies the filter correctly – just the dropdown for AND/OR is not set correctly in the GridHeader.
Thank you for reporting this. It seems that the GridHeader causes the problem. When I remove the GridHeader property the problem disappears.
I have opened a work item for this!