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
585
UltraTree Merge
posted

Hi !!

I'm new to infragistics

i have 2 questions on UltraTrees

1. i need to copy node[s] between two trees (including their cells) can i do it?

2. i have 2 UltraTrees that i need to perform merge on them is this possible?

tnx in advance

 

  • 585
    posted in reply to Brian Fallon

    tnx :)

  • 69832
    Verified Answer
    Offline posted

    1. Recursively iterate all Nodes collections starting with the root Nodes collection (UltraTree.Nodes), And iterate the Cells collection for each node therein. For each node in the source tree, create one for the target. You can get the value of a cell using the UltraTreeNode.Cells[n].Value property, and you can set the value on the target cell using the UltraTreeNode.SetCellValue property.

    2. No, UltraTree does not support cell merging as UltraGrid does.