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

[Solved] Collapse Child Grids

3 Answers 166 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe Loux
Top achievements
Rank 1
Joe Loux asked on 28 Apr 2008, 03:04 PM
I'm working on a project right now where we want to be able to have child grids show up in a collapsed state.  That way when the parent item is expanded the user will be presented with a list of child grids that can then be expanded. I've thought about using collapsible <div> tags, but am not sure of where I would be able to insert the divs.  Anyone have any experience doing this, or am I headed in the wrong direction?  Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Apr 2008, 01:59 PM
Hi Joe,

One possible option would be to nest more than one table at a level.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Joe Loux
Top achievements
Rank 1
answered on 29 Apr 2008, 05:10 PM
Yavor,

    Thanks for the reply.  We are already implementing this functionality already in our project. Maybe I need to rephrase what I'm trying to accomplish.

    We have a parent grid that has 'x' rows.  When a record is expanded it displays 'n' number of child grids, each of which has 'x' number of rows.  Now as you can imagine, if each grid has 10 rows and there are 5 child grids then it will take up a signifigant amount of vertical screen real estate. 

    What I am trying to do is when a record is expanded in the parent grid the user would be presented with a list of child grids, probably in a hyperlink-type format.  When the user clicks on one of the listed items the grid associated with it would then be displayed. That way the user could then see the grids they needed to without having all the data presented to them at one time (which we have discovered can become very confusing depending on the amount of data).

Joe
0
Accepted
Yavor
Telerik team
answered on 02 May 2008, 10:46 AM
Hi Joe,

In this case, based on the supplied information,
you may consider relating two or more grid controls. Let me know if this is a feasible solution.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Joe Loux
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Joe Loux
Top achievements
Rank 1
Share this question
or