I want to disable filter icon in the grid while new blank row is added and it should be enable once user entered the value and save. can you please help.
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 31 May 2022, 06:57 AM
Hello Arun,
Even though the Grid does not provide a built-in option for disabling the filtering while editing an item, you can manually get reference to the header element of the Grid and disable all child elements and also, disable the "pointer-events" for it. I have prepared a simple example demonstrating such implementation:
As you will notice, on "add" and "enterEdit" I am calling a "toggleDisabledState" function that finds the header element and manually disables everything within. On "update" I am removing the disabled state.
Hope this helps.
Regards,
Konstantin Dikov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.