Treemap header color

2 posts, 1 answers
  1. Banca del Ceresio
    Banca del Ceresio avatar
    11 posts
    Member since:
    Jun 2008

    Posted 04 Nov 2015 Link to this post


     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



  2. Answer
    Daniel avatar
    2109 posts

    Posted 06 Nov 2015 Link to this post


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

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top