Hey there,
I read a blog article from Burke Holland (http://blogs.telerik.com/kendoui/posts/14-02-26/a-few-angular-kendo-ui-best-practices) and in the chapter "Leverage Widget References" he says, that the widget reference to the grid is provided inside the scope.
But when I use this html snippet:
<div kendo-grid="grid" k-options="mainGridOptions"></div>
and try to use $scope.grid in my controller, it is undefined.
Would you please provide an example how to get the widget reference?
Thanks a lot!
I read a blog article from Burke Holland (http://blogs.telerik.com/kendoui/posts/14-02-26/a-few-angular-kendo-ui-best-practices) and in the chapter "Leverage Widget References" he says, that the widget reference to the grid is provided inside the scope.
But when I use this html snippet:
<div kendo-grid="grid" k-options="mainGridOptions"></div>
and try to use $scope.grid in my controller, it is undefined.
Would you please provide an example how to get the widget reference?
Thanks a lot!