items Array
A JavaScript array that contains the ToolBar's commands configuration.
For more information regarding supported commands and their configuration properties check the Getting Started topic.
Example - initialize ToolBar with Button, Toggle Button and SplitButton
<div id="toolbar"></div>
<script>
$("#toolbar").kendoToolBar({
items: [
{ type: "button", text: "Button" },
{ type: "button", text: "Toggle", togglable: true },
{ type: "splitButton", text: "SplitButton", menuButtons: [{text: "Option 1"}, {text: "Option 2"}] }
]
});
</script>
Related Properties
- items.attributes
- items.buttons
- items.buttons.attributes
- items.buttons.click
- items.buttons.enable
- items.buttons.group
- items.buttons.hidden
- items.buttons.icon
- items.buttons.id
- items.buttons.imageUrl
- items.buttons.selected
- items.buttons.showIcon
- items.buttons.showText
- items.buttons.spriteCssClass
- items.buttons.toggle
- items.buttons.togglable
- items.buttons.text
- items.buttons.url
- items.click
- items.enable
- items.group
- items.hidden
- items.icon
- items.id
- items.imageUrl
- items.menuButtons
- items.menuButtons.attributes
- items.menuButtons.enable
- items.menuButtons.hidden
- items.menuButtons.icon
- items.menuButtons.id
- items.menuButtons.imageUrl
- items.menuButtons.spriteCssClass
- items.menuButtons.text
- items.menuButtons.url
- items.overflow
- items.overflowTemplate
- items.primary
- items.selected
- items.showIcon
- items.showText
- items.spriteCssClass
- items.template
- items.text
- items.togglable
- items.toggle
- items.type
- items.url