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

getKendoGrid Documentation

1 Answer 1150 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 05 Jan 2015, 07:29 PM
According to many example, it seems the getKendoGrid() function has replaced the way to access the kendo grid object (.data("kendoGrid").

The same kind of change has been made for different widgets, but I can't any reference to those function in the API documentation.

Are those functions documented anywhere?

Best regards,

Simon

1 Answer, 1 is accepted

Sort by
1
Alexander Valchev
Telerik team
answered on 07 Jan 2015, 12:50 PM
Hi Simon,

The jQuery .getKendo<WidgetName> is alternative approach for obtaining a reference to the widget instance. It does not replace the .data("<widgetName>") method. The .data("<widgetName>") is still valid and can be used.

Basically both methods do the same thing, please use the one that is more convenient for you.

The .getKendo<WidgetName> methods are still not documented. I added them to this help topic:
Changes should be published on-line in a short period of time.

Regards,
Alexander Valchev
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
Simon
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or