2 Replies Latest reply on Nov 10, 2006 8:32 AM by wushupork

    Flex 2 Tree component vertical scrollbar not updating

    wushupork Level 1
      I am using a Tree component to hold a very large dataset. So instead of loading the whole tree view at once, I only load the first level and make webservice calls every time the user opens a node using the itemOpen event handler. My only problem is that the data shows but the scrollbar does not appear. When I close said folder, and reopen, then the scrollbar appears.

      How should I notify the Tree component that the data has changed and that it should update the scrollbar. I dont want to use ItemRenderer if I dont have to.

      Ive tried these but they dont work:




      m_tree.expandItem(m_selectedNode, true, true, true);