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

How to select a grid element on my controller ?

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Saul
Top achievements
Rank 1
Saul asked on 04 Feb 2014, 06:04 PM
How get a reference of my grid widget on angular ?

for example the normnal way is this : 

$("#GridID").data("kendoGrid").dataSource.fetch();

but I make a reference to my widget from an angular controller ?

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 06 Feb 2014, 01:27 PM
Hello Saul,

Basically you access the widgets the same way as shown in the demos. However first you need to be sure that the widgets are already initialized.

var ddl = $('#someDDL').data('kendoDropDownList');

You might also find useful the following resource:

http://kendo-labs.github.io/angular-kendo/#/

Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Saul
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or