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

Treemap header color

1 Answer 28 Views
TreeMap
This is a migrated thread and some comments may be shown as answers.
Banca del Ceresio
Top achievements
Rank 1
Banca del Ceresio asked on 04 Nov 2015, 11:42 AM

Hi,

 I have created a treemap, assigning color to each tile, but if a tile is a header, the color is overidden.

There is a way to force a header color ?

 As you can see, I have put an alert in itemCreated event, to stop after each tile creation, and as you can see in the first attached file, the tile have the color that I chose.

When the child tiles are created, the parent tile color is overidden (see attached file 2).

 Thank you for you help

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 06 Nov 2015, 08:49 AM
Hello,

This is not supported out of the box but can be achieved by setting the element color in the dataBound event(live demo).

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