Toolbar API overview
Toolbar methods
Name | Description |
---|---|
destructor() | removes a Toolbar instance and releases occupied resources |
disable() | disables and dims an item(s) of Toolbar |
enable() | enables a disabled item(s) of Toolbar |
getSelected() | returns an array with IDs of selected items |
getState() | gets current values/states of controls |
hide() | hides an item of Toolbar |
isDisabled() | checks whether an item of Toolbar is disabled |
isSelected() | checks whether a specified Toolbar item is selected |
paint() | repaints Toolbar on a page |
select() | selects a specified item of Toolbar |
setFocus() | sets focus on an Input control by its ID |
setState() | sets values/states of controls |
show() | shows an item of Toolbar |
unselect() | unselects a selected Toolbar item |
important
Use TreeCollection methods to work with data.
Toolbar events
Name | Description |
---|---|
afterHide | fires after hiding an item of Toolbar |
beforeHide | fires before hiding an item of Toolbar |
click | fires after a click on a control |
inputBlur | fires when a control is blurred |
inputChange | fires on changing the value in the Input control of Toolbar |
inputCreated | fires when a new input is added |
inputFocus | fires when a control is focused |
openMenu | fires on expanding a menu control |
important
Use TreeCollection events to work with data.
Toolbar properties
Name | Description |
---|---|
css | Optional. Adds style classes to Toolbar |
data | Optional. Specifies an array of data objects to set into Toolbar |
menuCss | Optional. Adds style classes to all containers of Toolbar controls with nested items |
Toolbar Button properties
A Button control can have the following properties.
Toolbar Custom HTML button properties
A Custom HTML button control may possess the following properties.
Toolbar Datepicker properties
A Datepicker control can have following properties.
Toolbar ImageButton properties
An ImageButton control can have the following properties.
Toolbar Input properties
An Input control can possess the following properties.
Toolbar MenuItem properties
A MenuItem control can have the following properties.
Toolbar NavItem properties
A NavItem control may have the following properties.
Toolbar SelectButton properties
A SelectButton control can have the following properties.
Toolbar Separator properties
A Separator control may have the following properties.
Toolbar Spacer properties
A Spacer control can possess the following properties.
Toolbar Title properties
A Title control can have the following properties.