1 Reply Latest reply on Oct 18, 2006 7:00 AM by Jpmon1

    Redraw Tree component

    Jpmon1
      Group,

      I have a tree component that uses a custom cell renderer to display the tree in a tabular format with pictures in one of the columns. This tree receives new data every so often, and all the current nodes are removed, and a new data provider is set up and given to the tree. My problem is: when this happens, the images in my tree are not erased. When the new data is set up, the old and new images are shown. The "old images" are shown below the last node in the tree (strange, I know), and when I expand all the nodes, and make the "old images" go off screen, they will be erased when I collapse some nodes. Is there a way to force the tree to redraw itself? I have tried myTree.refresh(), and that does not work. Thanks in advance.

      - Jon