UI Virtualization causes expanded items to collapse automatically

2 posts, 0 answers
  1. Markus
    Markus avatar
    12 posts
    Member since:
    Nov 2013

    Posted 30 May 2014 Link to this post

    I have a TreeListView with a IsExpandedBinding to my view model (TwoWay).
    Before I show the tree the first time, I expand a couple of nodes programmatically to show the tree initially in a state which is most useful for the customer. Due to UI virtualization I noticed that some of the nodes which I expanded programmatically get collapsed again which causes a not desired initial view of my tree. If I switch off UI virtualization, everything works as expected, BUT this is not acceptable since I will have up to 100.000 rows in my tree.
    Any thoughts on how to solve this problem?

  2. Yoan
    Yoan avatar
    1053 posts

    Posted 04 Jun 2014 Link to this post

    Hello Markus,

    I've tried to reproduce your problem, but to no avail. I have attached my test project for a reference. Could you check it and modify it in order to demonstrate the issue? 

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft banner
Back to Top