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

IsVirtualizing is not working for my case

8 Answers 83 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Weera
Top achievements
Rank 1
Weera asked on 29 Dec 2014, 10:08 AM
Hi All,

I am using Telerik WPF trial version but my client will buy it soon. I am recursively loading directories tree and listing on RadTreeListView.

The top most directories trees are working but the most buttom doesn't work as expect.

Seet the attach files

8 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 29 Dec 2014, 12:56 PM
Hello Weera,

I am not sure what the exact problem is in the case. Can you share a bit more about your scenario and expectations? 

Regards,
Nick
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Weera
Top achievements
Rank 1
answered on 29 Dec 2014, 02:01 PM
Hi,

Thanks, if you consider about the First.png and problem.png, both are lives in the same view and the same time.

The first.png is working just fine. However if I scrolling down to bottoms to see more items. This should be heirarchical and not a flat folder structure because there is lot of folder within those root-folder.

The problem.png doesn't work as the first.png. It would but hadn't

Best Regards,
Weera
0
Weera
Top achievements
Rank 1
answered on 29 Dec 2014, 02:13 PM
Hi Nick,

I have tested with following code but no lick: I have tried both by setting the following flag field to True and Flase but no luck.

<telerik:RadTreeListView telerik:GridViewVirtualizingPanel.IsVirtualizing="False"

<telerik:RadTreeListView telerik:GridViewVirtualizingPanel.IsVirtualizing="True"

Best Regards,
Weera
0
Weera
Top achievements
Rank 1
answered on 29 Dec 2014, 05:53 PM
Hi,

I am facing following problem. It is fixed and solved!

Thanks and Best Regards,
Weera
0
Nick
Telerik team
answered on 30 Dec 2014, 12:24 PM
Hi Weera,

You have to use the EnableRow/ColumnVirtualization properties, to control the virtualization of RadTreeListView. 
Furthermore, the control should be placed in a container that will measure it with a fixed size, in order to benefit from the virtualization. 

Hope this makes sense. 

Regards,
Nick
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Weera
Top achievements
Rank 1
answered on 04 Jan 2015, 11:05 AM
Hi Nick,

Thanks, I am in a situation that the TreeListView loades more than 10,000 folders. It doesn't work as expect. EnableRow/ColumnVirtualization is sometime work as expect sometime not.

How do you handler if there's lot of data more than 10,000 folder?

Windows Explorer is an example, it works pretty fast. I am using windows 8.1, there's a folder has more 
C:\Windows\WinSxS

Do you have any suggestion? I can create a sample if you need it.

Best Regards,
Weera
0
Nick
Telerik team
answered on 05 Jan 2015, 08:10 AM
Hi Weera,

A sample would be great to illustrate the exact problems you have. As to how to force the Virtualization, it is on by default, and you simply need to ensure that RadTreeListView is not placed in a container that measures it with infinity. A StackPanel for example. 

Regards,
Nick
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Weera
Top achievements
Rank 1
answered on 05 Jan 2015, 10:30 PM
Hi Nick,

Thanks again, now I can show more than 100,000 folders without any performance impact. It works fine now.

Best Regards,
Weera
Tags
TreeListView
Asked by
Weera
Top achievements
Rank 1
Answers by
Nick
Telerik team
Weera
Top achievements
Rank 1
Share this question
or