0 Replies Latest reply on May 8, 2007 11:17 AM by BeniRose

    Tree Control

    BeniRose Level 1
      I'm using an external XML file to drive this TreeUI, but I'm having problems displaying what I want. The labelFunction doesn't seem to loop over the text nodes inside an xml node (e.g. <node label="some node">this won't be looped over</node> counts as one loop) even though the text is considered a leaf node child of "some node" (some node being the branch).

      So long story short, I've isolated the nodes that have text inside them and want to make it so they are no longer branches WITHOUT deleting the text inside them. I tried using setIsBranch, but that only seems to set branch or leaf is there's no children, so how do I set it to leaf even if there is children?