Skip to main content


disables and dims items of Sidebar

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


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


sidebar.disable("search");// several at a timesidebar.disable(["search", "currentButton", "edit"]);

Related sample: Sidebar. Enable/Disable

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

// disables all Sidebar itemssidebar.disable();