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
420
Adding Unbound Tree Nodes
posted

Hello,

Is it possible to add unbound tree nodes after the tree control has been bound to a dataset?  My tree consist of one columnset, with 5 columns, 4 of which are hidden, so that only 1 column is displayed.  In each of these nodes under the column, I need 3unbound sub-nodes.  But when I go to add the nodes in the InitializeDataNode event, I get a "Cannot add to a bound node collection" error.

Any Ideas?

Thanks,

Andrew

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Andrew,

         You can't mix bound and ubound nodes into the same nodes collection. You can add unbound nodes and then bind the children of that node. And I beleive you can even add unbound nodes as the children of a bound node. But any single nodes collection must either be all bound or all unbound. 

Children
No Data