Hello,
as you can see in the provided example : https://blazorrepl.telerik.com/GwEsxPFc05zxpF2u01
i have set a filter for column Country on OnStateInitHandler event. However when i try to clear the filter from the filtermenutemplate button , Check box has the previous value. But data are bound correctly.
Could you give me some advice?
Hi Sofronis,
I'm ready now to shed some more light on the situation below.
It turns out that using a custom filter ("FilterMenuTemplate") requires manually clearing the checkboxes selection after hitting the "Clear" button. That is achievable by modifying a static "CompositeFilterDescriptor" and the Grid state.
I have prepared an example for you with comments on almost every method that explains its use: REPL link. It seems to cover the desired result.
Please run and test it to see if the approach suits your scenario.
Regards,
Hristian Stefanov
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.
Hi Sofronis,
Thank you for providing an additional example.
Now I'm reproducing the described behavior. I will further investigate with the developers team and get back here as soon as possible with an update.
Regards,
Hristian Stefanov
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.
I apologize for the misunderstanding .. As you see in the corrected example https://blazorrepl.telerik.com/mwYXOMFF36rkp3DQ33
and in the screenshot the problem affords the clear button in FilterMenu Template
Hi Sofronis,
Thank you for providing a runnable example. That always helps a lot.
I carefully tested it on my machine, and it seems to work as expected - when I click the custom clear button after the initial load, the checkboxes are getting set back to their default (none of the items checked).
At that stage, the example does not seem to reproduce a bug in the filtering function.
If there are more details I'm missing, please let me know.
Regards,
Hristian Stefanov
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.