Telerik UI for ASP.NET MVC
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Creating a design for Grid
3 Answers
32 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
reportes20.jpg
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.
Add a comment
Submit comment
Cancel
3 Answers
, 1 is accepted
Sort by
Score
Date
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!
Add a comment
Submit comment
Cancel
0
Misahael
Top achievements
Rank 1
answered on
07 Feb 2014,
05:57 PM
reports20.jpg
Hi Petur,
Thanks for the example.
My other question is. It's possible to add two header columns?
Regards
Add a comment
Submit comment
Cancel
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!
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
Grid
Asked by
Misahael
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Misahael
Top achievements
Rank 1
Share this question
or
Copy link