Unplanned
Last Updated: 10 Dec 2020 14:52 by John
John
Created on: 10 Dec 2020 14:52
Category: Spreadsheet
Type: Feature Request
0
Cannot define a custom toolbar item using the TagHelper Spreadsheet configuration

Bug report

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
            }]
        }
      });

Reproduction of the problem

Here is a sample project in which the "Open file" tool is defined.

Current behavior

We cannot define a custom toolbar using the Spreadsheet tag helper.

Expected/desired behavior

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

Environment

  • Kendo UI version: 2020.3.1118
  • jQuery version: x.y
  • Browser: [all]
0 comments