The current TagHelper implementation of the Spreadsheet doesn't allow a definition of a custom toolbar. What the user can define in the toolbar configuratio is to show selected pre-defined tools using a configuration like the following:
<toolbar>
<home >
<tool name="open"></tool>
</home>
</toolbar>
In the Kendo UI for jQuery suite, we can define a custom toolbar as follows:
$("#spreadsheet").kendoSpreadsheet({
toolbar: {
home:[
{
type: "button",
text: "PDF",
showText: "both",
icon: "k-icon k-i-download",
click: exportPdf
}]
}
});
Here is a sample project in which the "Open file" tool is defined.
We cannot define a custom toolbar using the Spreadsheet tag helper.
The user should be able to define a custom toolbar using the Spreadsheet tag helper as it is possible in the Kendo UI for jQuery suite - https://dojo.telerik.com/alobigUQ