2 Replies Latest reply on Jul 13, 2006 5:25 AM by ckshah

    updating treenodes

    KUZELJ
      hi,

      i want to add a childnode into the selected node within a tree.
      which does work in a fashion or so. what i do is the following

      treeControl.selectedItem = new MyTreeNode(aListofChildNodes);

      sadly i dont see anything at all until i close and reopen
      the currently selected Node. only then the new childnodes
      are visible.

      is there any way to update the display?
      i tried things like

      treeControl.invalidateDisplayList();
      and
      treeControl.validateDisplayList();

      but nothing helped sofar.

      any hint is greatly appreciated.

      ciao robertj