i wan´t to disable one Button in the ToolBar Section of the Grid. How can i do this?
Greetings Dee
1 Answer, 1 is accepted
2
Dimiter Madjarov
Telerik team
answered on 11 Apr 2014, 03:36 PM
Hi Dee,
There is no built in way to achieve this. As a workaround, since the click handlers are attached through jQuery delegates via the button classes, you could add/remove the specified class (k-grid-commandname) in order to simulate this. You could take a look at the following example which demonstrates the approach in action. In the example I am also adding the k-state-disabled class to the button, so that it visually looks disabled.
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!