0 Replies Latest reply on Aug 13, 2008 11:03 PM by Hamshmam

    Tree selectedIndex won't work

      Hi all,

      I'm trying to display a tree, expand it with all it's data, and then have it select, let's say, the 30th index automatically. Here's my code:

      myTree.openItems = treeData..node;
      myTree.selectedIndex = 23;

      If I take out the expansion of the tree (line 1), it seems to do some selecting, but for some reason won't do it when it's expanded. Anyone have any idea why? Thanks!