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

Multiple Rows Question

3 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 12 Feb 2013, 11:52 PM
I've done a lot of searching and have not found exactly my issue. Most of the "multiple rows" involve putting multiple rows in a single column. I need entire second rows.

At a high level this is my dilemma. I get a row of data back. Sometimes this row has warnings associated with it. The business wants those warnings to be displayed in a full row below the row of data. It has to be always visible. In addition we currently use the expander to show additional details about the row.

I've had a few thoughts.on how to do this. The first is to use the OnPreRender method that we are using to add a second header row . I think this might work but I can see it getting pretty ugly since I'll be dealing with the grid as a whole rather than one row at a time. The second idea is to use two DetailTables, one for the warnings and one for the additional detail. The problem with this is that I don't think there would be a way to open one detail table, close the other but have the expander say "closed" so it behaves "normally". My third idea is to somehow leverage a NestedViewTemplate to finagle this. I think this would suffer the same fate as my second idea.

Has anyone done this before? Any advice or help in how I should proceed would be greatly appreciated!

/Rob

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Feb 2013, 02:30 PM
Hi Rob,

Could you please examine the Detail Items feature? I think it might fit your scenario:
Grid / Detail Item Template
Detail Item Template documentation

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robert
Top achievements
Rank 1
answered on 15 Feb 2013, 07:23 PM
Hi Daniel,

That definitely looks like it will work. At which version did it become available? I don't seem to have those classes. Our version is 2012.1.441.40 .

Thanks!

/Rob
0
Daniel
Telerik team
answered on 20 Feb 2013, 09:37 AM
Hi Rob,

This feature is available since Q3 2012 release. You can see the full release history here:
Q3 2012 (version 2012.3.1016)

Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Robert
Top achievements
Rank 1
Share this question
or