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

Hierarchy from table initialization example

4 Answers 152 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 09 Feb 2012, 01:59 AM
Hi,

Great update! Is there an example of the new hierarchy from table initialization feature? I was just trying to figure this out. If it's already in the documentation I couldn't find it. I'm hoping it's something as simple as adding a second table and identifying it via the configuration?

Any help would be appreciated. Can't wait for the full release in March!

Thanks,

Tony

4 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 13 Feb 2012, 12:36 PM
Hello Tony,

Bellow you can find examples on how to achieve hierarchy with Kendo Grid:
http://demos.kendoui.com/web/grid/hierarchy.html
http://demos.kendoui.com/web/grid/detailtemplate.html

Regards,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tony
Top achievements
Rank 1
answered on 13 Feb 2012, 06:43 PM
Hi,

Thanks for the response. I was actually referring to a fixed in the last release (Fixed: Grid hierarchy when initialized from table element). This implies that I can setup a table in such a way as to create the hierarchy form table initialization, which neither of the examples you point to incorporate.

Can you post an example of how to create grid hierarchy when initialed from a table element? For example, do I need two tables? Is there a class that needs to be applied to the child table?

Thanks,

Tony
0
Nikolay Rusev
Telerik team
answered on 14 Feb 2012, 03:09 PM
Hello Tony,

The issue that is resolved with fixed is actually the scenario described in the following forum thread:
http://www.kendoui.com//forums/ui/grid/bug-in-detail-template-with-html-table.aspx

Greetings,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tony
Top achievements
Rank 1
answered on 14 Feb 2012, 03:42 PM
OK, now it  makes more sense. So, this means that I can initialize both main and detail grids with tables in the  detail template. That's fantastic and makes it really easy to build detail grids.

Thanks!
Tags
Grid
Asked by
Tony
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Tony
Top achievements
Rank 1
Share this question
or