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

Column heading class names

2 Answers 258 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 11 Jan 2012, 04:22 PM
Hi,

Is it possible to assign a CSS class name to a header cell in a grid as I have some styling that is specific to a single cell that I want to apply with a style sheet?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 11 Jan 2012, 05:05 PM
Hi Matt,

One option is to intiialize the Kendo Grid from a table and have the CSS classes assigned on the table's header cells.

http://demos.kendoui.com/web/grid/from-table.html

Another option is to assign the CSS classes with Javascript and standard DOM manipulation, after the Grid's initialization.

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matt
Top achievements
Rank 1
answered on 12 Jan 2012, 01:32 PM
Thanks Dimo, that has sorted me out.
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Matt
Top achievements
Rank 1
Share this question
or