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

How to style the detailInit?

1 Answer 224 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 14 Oct 2016, 01:08 AM
I was wondering what CSS is needed to style the detailInit header and its rows?

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 14 Oct 2016, 01:38 PM
Hello Chris,

I can suggest using the following CSS selectors to modify the header and the rows of the detail Grid. Please have in mind that the selectors can vary if custom templates are used:

#gridID .k-detail-row .k-grid-header .k-header>.k-link{
 color: blue;
}
#gridID .k-detail-row  td{
 color: red;
}
#gridID .k-detail-row .k-alt td{
 color: aqua;
}

Additionally, I can suggest checking the article for the Kendo UI widgets appearance:

http://docs.telerik.com/kendo-ui/styles-and-layout/appearance-styling

I hope this is helpful.

Regards,
Stefan
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or