Style parent rows on excel export

2 posts, 0 answers
  1. Paul
    Paul avatar
    31 posts
    Member since:
    Mar 2011

    Posted 22 Mar 2016 Link to this post

    I am using a linkbutton to use teleriks excel export to export the entire tree of the rad tree list. Is there a way to style the parent rows only? I see an expand collapse cell style setting, but that just styles the cell with the expand/collapse icon. However, I need to style that entire row. Is there a way to do that?
  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 25 Mar 2016 Link to this post

    Hello Paul,

    A possible solution is access the TreeListDataItem on ItemDataBound event handler and set BackColor to the rows which you want to colorize. For your convenience, I prepared a small sample and attached it to this thread.

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top