Check documentation for the latest version of dhtmlxSuite disableItem DHTMLX Docs

disableItem

disables the specified item

void disableItem(string|number itemId);
itemIdstring|numberthe id of an item to disable

Example

myToolbar.disableItem(itemId);

See also
Back to top