Style parent rows on excel export

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

    Posted 22 Mar 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
    Admin
    Kostadin avatar
    1713 posts

    Posted 25 Mar 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.

    Regards,
    Kostadin
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top