disable

disables and dims an item(s) of Toolbar

void disable(string|array ids);

Parameters

idsstring|arrayan ID or an array of IDs of items

Example

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

Related samples

See also
Back to top