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

Foreign Key Column Template with Angular

1 Answer 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christy
Top achievements
Rank 1
Christy asked on 20 Sep 2016, 06:16 PM

I am looking for something similar to a previous question, Foreign Key with Column Template. However, I need to have my code use AngularJS. Is there a way to hand off the javascript function using $scope or $ctrl from within the grid columns?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 22 Sep 2016, 02:12 PM
Hello Christy,

As mentioned in this forum post you can change the context of the template and include the current scope by using jQuery proxy. Here is small example of accessing the scope inside column template:


Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Christy
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or