IsVirtualizing is not working for my case

9 posts, 0 answers
  1. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 29 Dec 2014 Link to this post

    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
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 29 Dec 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 29 Dec 2014 in reply to Nick Link to this post

    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
  5. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 29 Dec 2014 in reply to Weera Link to this post

    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
  6. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 29 Dec 2014 in reply to Weera Link to this post

    Hi,

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

    Thanks and Best Regards,
    Weera
  7. Nick
    Admin
    Nick avatar
    593 posts

    Posted 30 Dec 2014 Link to this post

    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.

     
  8. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 04 Jan 2015 in reply to Nick Link to this post

    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
  9. Nick
    Admin
    Nick avatar
    593 posts

    Posted 05 Jan 2015 Link to this post

    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.

     
  10. Weera
    Weera avatar
    25 posts
    Member since:
    Apr 2012

    Posted 05 Jan 2015 in reply to Nick Link to this post

    Hi Nick,

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

    Best Regards,
    Weera
Back to Top
UI for WPF is Visual Studio 2017 Ready