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

Angular Scope Binding Support in Toolbar Template

1 Answer 75 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 2
Gabriel asked on 23 Jul 2016, 08:14 AM

I would like to use angular bindings in the toolbar template in the Gantt chart which does not seem to work. Please see dojo for example: http://dojo.telerik.com/ILiyu 

 

The particular point of interest is:

 

            $scope.foo = " [foo from scope] ";

            $scope.ganttOptions = {
                toolbar: [
                    {
                        template: "{{ foo }}"
                    }
                ]
            };

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 27 Jul 2016, 07:04 AM
Hello Gabirel,

Please refer to the following dojo example, where such template for the toolbar is implemented with angular:

http://dojo.telerik.com/@dterziev/IdUKA


Regards,
Nencho
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Gantt
Asked by
Gabriel
Top achievements
Rank 2
Answers by
Nencho
Telerik team
Share this question
or