Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
UltraTree performance issue
posted

Hello,

I 'm loading a tree in Outlook Express mode with approax 1000 folders (deepest folder level is 7) and 5000 items. It takes about 1 minute to load. I have analyzed performances with a tool, and I can see that most of time is spent in : SetCellValue and UltraTreeColumnSet.DirtySortForAssociatedNodesCollections(UltraTree) .

I have just 5 columns to set and if I remove columns sorting, result is the same. I have tested with 2007.3(hot fix 1061) and 2008.3 versions.

Is there any options to set to accelerate loading in that case ?

Thanks.

Parents
  • 469350
    Offline posted

    Try calling tree.BeginUpdate before you start adding nodes and then call EndUpdate after the last node is added. That should speed it up.

    If that does not help, perhaps if you post the code here that adds the nodes, we can take a look and see if it can be made more efficient.

Reply Children