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

Creating a design for Grid

3 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Misahael
Top achievements
Rank 1
Misahael asked on 05 Feb 2014, 01:58 PM
Hi,
I have a question about the design of a Grid. I attach a image that show an idea of how I need the grid.
Please, I wonder if this is possible. 

Thanks.

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 07 Feb 2014, 09:45 AM
Hello Christian,

Yes what you shared as a screenshot should be possible.

Basically coloring the background of the cells is done easily by adding classes to them via the HtmlAttributes, and then giving background color CSS.

The header are colored again in a similar manner by adding class via the HeaderHtmlAttributes() of the column configuration.

Also checking the following code library, might be of help in case you need to color different rows in a different way based on data:

http://www.telerik.com/support/code-library/ajax-binding-custom-row-styles-based-on-the-data


Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Misahael
Top achievements
Rank 1
answered on 07 Feb 2014, 05:57 PM
Hi Petur,

Thanks for the example.
My other question is. It's possible to add two header columns?
 Regards 
0
Petur Subev
Telerik team
answered on 11 Feb 2014, 03:40 PM
Hello again christian,

I am sorry to say it is not possible. The so called combined headers are not something that the Grid support.

Kind Regards,
Petur Subev
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
Misahael
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Misahael
Top achievements
Rank 1
Share this question
or