Posibility to add Class attribute to TreeListColumn

2 posts, 0 answers
  1. Ciprian Daniel
    Ciprian Daniel avatar
    15 posts
    Member since:
    May 2017

    Posted 25 Sep 2020 Link to this post


    Is there any possibility to set a css class directly to the TreeListColumn element of TelerikTreeList > TreeListColumns? As I want to set for example the background-color of a cell depending on some conditions from the model that I'm passing to the TreeList.

    Now the only thing that can be done is to set the Template and in there add a div element where I can set the css class or inline style css rules, but that's not very convenient for me as the column that has the expandable arrow will not look good, that's why it will be more convenient if I could have a posibility to set a css class directly to the td (cell) element.

    Best regards,


  2. Marin Bratanov
    Marin Bratanov avatar
    5796 posts

    Posted 28 Sep 2020 Link to this post

    Hi Cipri,

    We are working on this, and I expect it will be exposed for the treelist in the same way it is done for the grid: https://feedback.telerik.com/blazor/1456957-conditional-row-and-cell-class-for-styling


    Marin Bratanov
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top