I am using a CheckBoxList filter menu and I am setting an initial filter through the OnStateInit. I noticed that when the Grid initializes and I check all the boxes, the Grid does not show any records. For reference, if no initial filter is applied and all CheckBoxes are selected, the Grid shows all the records.
Reproduction: https://blazorrepl.telerik.com/GSbbbJut14K03I2x14.
===
ADMIN EDIT
===
As a workaround for the time being, you may create a custom Filter Menu.
Hi Shivanshi,
After a revision from the development team, I can confirm this is not a bug but a matter of incorrect configuration. Let me provide more details.
By design, when the user checks the boxes in the CheckBoxList filter menu, we internally create a CompositeFilterDescriptor with a LogicalOperator = Or. This allows the filter to take the separate values independently.
In the shared configuration, when the composite filter descriptor is created in the OnGridStateInit, the LogicalOperator is not explicitly set, so it falls back to the default FilterCompositionLogicalOperator.And. Therefore, when another value is added through the menu (and it does not initialize the composite operator with the FilterCompositionLogicalOperator.Or logical operator, it tries to filter the Grid by value "Yes and No" which is not present. It should be filtered by "Yes or No".
Here is the modified working sample: https://blazorrepl.telerik.com/GoFbPfvQ33GXW8KU55.
Having the above in mind, I have changed the status of the item to "Declined" as it is not a valid bug.
Regards,
Nadezhda Tacheva
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.