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

[Solved] Modify Skin for radgrid

4 Answers 125 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anu
Top achievements
Rank 1
Anu asked on 27 Jan 2010, 11:57 AM
Hi,

I am trying to modify some of the css classes for radgrid. Can someone tell me which selector I should be using to modify

Radgrid_Vista .rgExpand,
RadGrid_Vista .rgCollapse,
.DetailTable_Vista

Is it documented anywhere so that I can refer to it in future.

Many thanks,

Anu

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Jan 2010, 12:11 PM
Hello Anu,

Take a look at the following help document to customize an existing skin for the grid:
Modifying existing skins/creating new skins

Thanks
Princy.
0
Anu
Top achievements
Rank 1
answered on 27 Jan 2010, 01:42 PM
Hi Princy,

Thanks for sending me the link. However, I couldn't find an answer to my question there. I want to know which element i should be prefixing those cssclasses with so that I can modify the exisiting styles with my own.

kind regards,

Anu
0
Dimo
Telerik team
answered on 27 Jan 2010, 03:13 PM
Hi Anu,

Radgrid_Vista is a CSS class of a <div>

rgExpand and rgCollapse are CSS classes of <input>

DetailTable_Vista is a CSS class of a <table>

This can be easily found out by looking in the page HTML source.

For example by using

div.RadGrid_Vista  .rgExpand
{

}


you will be able to override the embedded skin's style.


Best wishes,
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
Anu
Top achievements
Rank 1
answered on 28 Jan 2010, 11:12 AM
Thank you very much. I managed to fix it. It is great to know that our questions are read and answered by the experts in the area.

regards,

Anu
Tags
Grid
Asked by
Anu
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Anu
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or