2 Replies Latest reply on Aug 19, 2010 8:05 AM by Devtron

    Add children to Tree control without XML

    Devtron Level 3

      Hello

       

      I need to add checkboxes underneath my parent nodes in my Tree control.

       

      I have tried:

       

      myTree.addChildAt(chk,0);


      and

       

      myTree.addChild(chk);

       

      These do not add the checkbox/children to the parent nodes. The only examples i see use XML appending.

       

      Is there a way to add these items, without appending the XML? Can I add these items directly to the container, in the correct order?

       

      I think this is impossible unless you use the XML appending method, but I am not sure. Can someone verify?

       

      Thank you!