I encountered unexpected behaviour with ultratree sorting when clicking on columns header. Please find sample in attached file. Click "PopulateTree" to load data then click twice on any columns to sort. All nodes except the first collapse until the scrollbar is clicked.
Is this a bug or am I missing something? Thanks
When the view is sorted, the control attempts to keep the ActiveNode in view; since the first node was active when the column was sorted, and it becomes the last node after the sort, the control is scrolled accordingly.
Thanks Brian for you respond.
I noticed that the control attempts to keep active node in focus when the column was sorted, but I don't think it's scrolled accordingly. When the node becomes the last node after the sort, only one node is displayed, and the rest of the view is empty. And I can't scroll up to see the nodes before the last one.
Thanks Brian.
I tried both ScrollBounds.ScrollToFill and ScrollBounds.ScrollToLastItem. With ScrollBounds.ScrollToFill, it solve the empty space issue but unable scroll up to see nodes before the last one. I got the opposite problem with ScrollBounds.ScrollToLastItem, I can scroll up after sorting but the control keeps scrolling down until the last node is on the top.
Brian Fallon"] Set UltraTree.ScrollBounds to 'ScrollToFill'
Set UltraTree.ScrollBounds to 'ScrollToFill'
I was not able to reproduce either of those issues using the latest version. You might want to get the latest hotfix and if the problem persists, report it as a bug.
Hi, i too have the same issue now. I am using UltraWinTreeV8.1. After clicking the header, when the scroll bound is in "Scroll to Fill", only one node is displayed. Other nodes will be displayed only after scrolling/resizing the tree. How to fix this issue.
Thanks & regards,
Sriram Sarma.
The example created by the original poster was using 8.1 build 1000 and it sounds as if a service release resolved the problem.
Hi. I am using Infragistics2.Win.UltraWinTree.v9.1 (9.1.20091.2023) and I also have this problem. Is there a fix for it?
Thanks