I want to disable the kendo menu subelement dynamically. I defined a kendo menu like
Html: <div id="menu"></div> <button id='enable'>Enable</button>
Jquery:
$("#menu").kendoMenu({ dataSource:[{text:"Actions",value:1,items:[{text:"First",value:2},{text:"Second",value:2}]}] });
Now I want to disable the second element. When I click the button, I want to turn on the menu
$("#enable").on('click',function(){
How can i do this.
source share