disables and dims an item(s) of Toolbar
ids | string|array | an ID or an array of IDs of items |
toolbar.disable("save_btn");
// several at a time
toolbar.disable(["cancel_btn","del_btn"]);
Starting from v7.0, it is possible to disable all items at once by using the method without the parameter:
// disables all Toolbar items
toolbar.disable();