toolbar.items Array
Configures the items collection of the toolbar.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/kendo-ui/service/filemanager/";
$("#fileManager").kendoFileManager({
toolbar: {
items: [
{ name: "createFolder" },
{ name: "upload" },
{ name: "sortDirection" },
{ name: "sortField" },
{ name: "changeView" },
{ name: "spacer" },
{ name: "details" },
{ name: "search" }
]
},
dataSource: {
transport: {
read: {
type: "post",
url: baseUrl + "Read"
}
}
}
});
</script>
Apart from the built-in tools, the FileManager fully exposes the ToolBar.items API. This way you can specify any custom tools in the widget using the components available in the ToolBar itself.
Related Properties
- toolbar.items.type
- toolbar.items.overflow
- toolbar.items.click
- toolbar.items.command
- toolbar.items.options
- toolbar.items.name
- toolbar.items.togglable
- toolbar.items.text
- toolbar.items.template
- toolbar.items.showText
- toolbar.items.primary
- toolbar.items.attributes
- toolbar.items.enable
- toolbar.items.hidden
- toolbar.items.spriteCssClass
- toolbar.items.imageUrl
- toolbar.items.showIcon
- toolbar.items.icon
- toolbar.items.id