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

How to set theme for Grid???

4 Answers 4399 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe Sugden
Top achievements
Rank 1
Joe Sugden asked on 24 Feb 2012, 08:45 PM
I know this may sound really stupid, but beats me, can't figure out how to set the theme for a grid, like we can do that for a chart!

Help!

Thanks!

4 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 27 Feb 2012, 11:11 AM
Hello Joe,

It is possible to change the theme of a grid and to any other widget in Kendo UI from kendo.[skin].css. Just replace kendo.default.min.css file from the <head> section of the page with the name of the theme you would like to use.

I hope this information helps.

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Donald
Top achievements
Rank 1
answered on 13 May 2015, 10:16 PM

I am attempting to set theme at the widget level as I have done with the chart:

        $('#chart').kendoChart({ theme: data.Theme == '' ? 'default' : data.Theme });

However, this line does not work with the Kendo grid. How might I acheive this?

 

Best,

Carrie 

0
Donald
Top achievements
Rank 1
answered on 13 May 2015, 10:18 PM

I am attempting to set theme at the widget level as I have done here with the chart:

    $('#chart').kendoChart({ theme: data.Theme == '' ? 'default' : data.Theme });

This works great with the charts, but does not seem to affect the grid. How might I accomplish this?

Best,

Carrie

0
Iliana Dyankova
Telerik team
answered on 18 May 2015, 08:00 AM

Hi Carrie,

Kendo UI Grid (as well as the other web widgets) doesn't have a theme option - you should specify the theme for the entire page (documentation link).

Regards,
Iliana Nikolova
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
Joe Sugden
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Donald
Top achievements
Rank 1
Share this question
or