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

    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

     

     

  2. Answer
    Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 06 Nov 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top