Skip to main content


hides an item of Menu

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


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


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

Related sample: Menu. Show/Hide Menu Item

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

// hides all Menu itemsmenu.hide();