Check documentation for the latest version of dhtmlxSuite setItemDisabled DHTMLX Docs

setItemDisabled

disables an item

void setItemDisabled(string|number itemId);
itemIdstring|numberid of the item to disable

Example

myMenu.setItemDisabled(itemId);

Back to top