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

Show detailtable next to mastertable row (IE8)

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeroen
Top achievements
Rank 1
Jeroen asked on 17 May 2011, 04:54 PM
I have a  grid which uses nested view templates like this http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx i'm using templates in both the master and detail.

According to my requirements the detail view should appear next to the master. When the grid renders there is 1 tr for the master row and another tr for the detail row. As far as i know there is no way to show tr next to each other in IE8

I've auto expanded the grid by default and hidden the expand columns. Basically the layout of what i'm looking for is like this:
parent1 | parent1_child1
              | parent1_child2
parent2 | parent2_child1 
              | parent2_child2

Any help will be greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 20 May 2011, 12:49 PM
Hi Jeroen,

There is no straightforward way of achieving the layout you need with RadGrid's NestedViewTemplate functionality, because the nested template is rendered on a separate row below the parent grid item. What you can do to achieve this layout, is abandon the NestedViewTemplate completely, and, instead, use a separate GridTemplateColumn in the main table. Thus, your detail content will all go into a table cell inside the template column and not in a row below the parent row.

Greetings,
Veli
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Jeroen
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or