Skip to main content

hide()

hides an item of Ribbon

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

Parameters:

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

Example

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

Related sample: Ribbon. Show/Hide Ribbon Item

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

// hides all Ribbon itemsribbon.hide();