hide

hides an item of Toolbar

void hide(string|array ids);

Parameters

idsstring|arrayone ID or an array of IDs of items

Example

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

Related samples

Details

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

// hides all Toolbar items
toolbar.hide();
See also
Back to top