This is a migrated thread and some comments may be shown as answers.

Using a template to create custom item in the toolbar

3 Answers 410 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Michelle
Top achievements
Rank 1
Michelle asked on 08 Jun 2017, 08:25 PM

Is it possible to add a toolbar item using a template in the Spreadsheet widget, like you can with the regular Toolbar widget?

Example: http://dojo.telerik.com/aPIha

Thanks,

Michelle

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 09 Jun 2017, 07:24 AM
Hello Michelle,

Here's a dojo example, which shows how you can add a custom toolbar item to the Spreadsheet's Home tab along three of the default tools.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Michelle
Top achievements
Rank 1
answered on 09 Jun 2017, 09:48 AM
I am aware that I can add custom buttons into the toolbar, but my question is how can I add a custom label or drop down list control, which is typically achieved by using templates as demonstrated in the example I included.
0
Ivan Danchev
Telerik team
answered on 09 Jun 2017, 01:30 PM
Hello Michelle,

You can use an approach similar to the one used in the ToolBar and set the custom tool's template option: dojo.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Spreadsheet
Asked by
Michelle
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Michelle
Top achievements
Rank 1
Share this question
or