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

[Solved] Different Skin for the Detail Table of a RadGrid

2 Answers 348 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Siju John
Top achievements
Rank 1
Siju John asked on 09 Dec 2009, 11:59 AM
Hi all,

I have got RadGrid which I have assigned a custom skin.The Detail Table inherits the same skin from the main grid,is it possible to specify a different skin for the Detail Table?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 09 Dec 2009, 12:07 PM
Hi Siju John,

I am afraid this is not possible. You have two options:

1. Use a different RadGrid instance in a NestedViewTemplate.

2. Modify your custom skin in such a way, that all styles are different for the rows, which are inside a detail table. Detail tables have a rgDetailTable CSS class, which you can use to distinguish rows inside them. For example:

.RadGrid_MySkin  .rgRow
{
        background: white;

.RadGrid_MySkin  .rgDetailTable  .rgRow
{
        background: yellow;
}

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Princy
Top achievements
Rank 2
answered on 09 Dec 2009, 01:05 PM
Hello Siju,

I also believe that the following help document should be of help to set different styles for the table in hierarchical grid when one of the predefined skins is applied to the grid.
Different styles in each hierarchy level with skin applied

Thanks
Princy.
Tags
Grid
Asked by
Siju John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Princy
Top achievements
Rank 2
Share this question
or