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

Hierarchy Grid from one object

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cynthia
Top achievements
Rank 1
Cynthia asked on 10 Sep 2013, 07:41 PM
I have an object that is nested, and want to have a grid that shows a hierarchy from that, without (as the examples are shown) ajax to get the data for each parent.  Is that possible?

For example
The object (Authors) with a Books Collection.

I don't want to query through to an object to get the books for each author, rather I've already got it.

Does the hierarchy require Ajax calls via DataSource()?


1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 11 Sep 2013, 06:46 AM
Hello Cynthia,

You can achieve this quite easily. The Grid API provides you with all the information from the master row data. Here is a quick example for this: http://jsbin.com/INIrUpe/1/edit

Regards,
Nikolay Rusev
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
Cynthia
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or