toolbar.items.templateString|Function
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
toolbar: {
items: [
{ template: "<button class='k-button'>Custom Button</button>" }
]
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
In this article