Skip to main content


disables and dims an item(s) of Ribbon

disable(ids: Id | Id[]): void;


ids: string | number | array - optional, an ID or an array of IDs of items


ribbon.disable("save_btn");// several at a timeribbon.disable(["cancel_btn","del_btn"]);

Related sample: Ribbon. Enable/Disable Ribbon Item

Starting from v7.0, it is possible to disable all items at once by using the method without the parameter:

// disables all Ribbon itemsribbon.disable();