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

[Solved] Hierarchy when adding a in new row

3 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Silvana
Top achievements
Rank 1
Silvana asked on 15 Jun 2011, 04:04 PM
Currently i can easily use the details view when adding a new row. Is it possible to also show an hierarchy when adding a new row?
I've accomplished this using the details view with a custom control using a grid but i would really rather have it like the other rows in the grid.

3 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 21 Jun 2011, 07:44 AM
Hi Nuno,

Any row will be expandable (with a "plus" sign) if there is a collection as "child" data source. I'm attaching an example that demonstrates this.
Let me know if this doesn't help.

Regards,
Nedyalko Nikolov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Silvana
Top achievements
Rank 1
answered on 22 Jul 2011, 05:19 PM
Hello,

Sorry it wasn't what i was looking for.
What i was asking was if there is a way of having showing the plus sign on the "New row" when inserting a new element on the grid? I had to do this using  the "Details view" functionality .

For the remaining rows everything is has expected using the built-in hierarchical functionalities that the RadGrid provides.

Cheers
0
Maya
Telerik team
answered on 28 Jul 2011, 07:54 AM
Hello Nuno,

You may define a GridViewToggleRowDetailsColumn for the parent grid. Thus, once you insert a new item with RowDetails, a toggle button will be displayed. Is that the functionality you are looking for ?
 

Best wishes,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Silvana
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Silvana
Top achievements
Rank 1
Maya
Telerik team
Share this question
or