Foreign Key Column Template with Angular

2 posts, 0 answers
  1. Christy
    Christy avatar
    38 posts
    Member since:
    May 2016

    Posted 20 Sep Link to this post

    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!

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 22 Sep Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top