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

Frozen Columns & TableHtmlAttributes

1 Answer 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raman
Top achievements
Rank 1
Raman asked on 13 Jun 2014, 08:40 PM
Hi Team -

I am trying to play with locked columns within Kendo MVC Grid. No doubt, It is very intuitive. But when I'm trying to add a custom CssClass to grid table using TableHtmlAttributes method, It does not work

.TableHtmlAttributes(new { @class = "blue" })

It works well without locked column. Can you please suggest?

Thanks,
Raman

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 17 Jun 2014, 02:42 PM
Hi Raman,


In the case of frozen columns, the Grid columns mark up consists of two table elements - one for the frozen and one for the regular columns. The custom class is applied only to the main Grid table i.e. the one for the regular columns.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Raman
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or