Complete TreeListView Style

7 posts, 0 answers
  1. Alessio
    Alessio avatar
    13 posts
    Member since:
    Mar 2011

    Posted 08 Jul 2013 Link to this post

    Hi,
    is it possible to have a complete Style of RadTreeListView?

    Thanks.
    --Alessio
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 08 Jul 2013 Link to this post

    Hi Alessio,

    Generally you can check our online documentation on Styling a TreeListView and using Implicit Styles.
    I am not sure that I understand your specific question though, so would you please clarify what do you refer by a "complete Style"?  

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Alessio
    Alessio avatar
    13 posts
    Member since:
    Mar 2011

    Posted 08 Jul 2013 Link to this post

    Thanks for the quick answer.

    I mean, I have one level hierarchic data structure and I want a expandable layout with constant column width when expand. So I think RadTreeListView is a good control (you can see design in attached).

    I'm choosing GridViewDataColumn and GridViewSelectColumn, so I'd like to have a complete HeaderCellStyle and CellStyle or RowStyle (to use in pair with RowStyleSelector).

    I'm trotting around documentation but I'd like to exit to process tentative-and-f5 :)

    Can you help me in any way? Thanks.

  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Jul 2013 Link to this post

    Hi,

    You can edit the templates of the TreeListViewRow, GridViewHeaderCell and GridViewCell. As the RadTreeListView inherits RadGridView, it uses the same styling mechanism. You may take a look at the Styles and Templates section of the RadGridView for a further reference.

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Alessio
    Alessio avatar
    13 posts
    Member since:
    Mar 2011

    Posted 18 Jul 2013 Link to this post

    Thanks.
    I'm arrived to a good style, but I have bad performance when scrolling and expanding hierarchic items.

    I'm testing with total 400 rows and 3 nested items every 5 elements.

    I set virtualizing but I have binding with converter and I see that bindind is revaluated during expanding hierarchic items: is it possible to avoid this behavior?

    Thanks.
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Jul 2013 Link to this post

    Hello,

    Indeed when there are a lot of visual elements (especially expanded in many hierarchy levels) scrolling performance will degrade significantly as all the rows should be created as they are brought into view. What I can suggest in this case would be to set ScrollMode="Deferred". That way the scrolling performance will be improved. 

    Generally I would also suggest you to go through the 
    Degraded Performance help article suggests on how you could improve the performance 

     

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  8. Alessio
    Alessio avatar
    13 posts
    Member since:
    Mar 2011

    Posted 22 Jul 2013 Link to this post

    Thanks! Deferred is great :)
Back to Top
DevCraft banner