This is a migrated thread and some comments may be shown as answers.

Complete TreeListView Style

6 Answers 61 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Alessio
Top achievements
Rank 1
Alessio asked on 08 Jul 2013, 02:11 PM
Hi,
is it possible to have a complete Style of RadTreeListView?

Thanks.
--Alessio

6 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 08 Jul 2013, 02:24 PM
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 >>
0
Alessio
Top achievements
Rank 1
answered on 08 Jul 2013, 02:41 PM
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.

0
Dimitrina
Telerik team
answered on 10 Jul 2013, 12:52 PM
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 >>
0
Alessio
Top achievements
Rank 1
answered on 18 Jul 2013, 03:33 PM
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.
0
Dimitrina
Telerik team
answered on 19 Jul 2013, 12:35 PM
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 >>
0
Alessio
Top achievements
Rank 1
answered on 22 Jul 2013, 08:56 AM
Thanks! Deferred is great :)
Tags
TreeListView
Asked by
Alessio
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Alessio
Top achievements
Rank 1
Share this question
or