1 Reply Latest reply on Mar 3, 2008 5:03 PM by ntsiii

    refreshing a tree

    kilyas2007 Level 1
      I am working on a tree for which the dataprovider has been defined as an XMLListCollection. The data of this XMLListCOllection changes over the period of time, but as the data is changing the three doesnot refresh itself.

      I have already tried to refresh it by calling


      but to no apparent use. how can I force a refresh/redraw of this tree?

        • 1. Re: refreshing a tree
          ntsiii Level 3
          Re-assigning the dataProvider always works, but it redraws the entire tree.

          You say, "The data of this XMLListCOllection changes...". How are you doing that? Are you using the XLC api? Try issuing the call MyCollection.itemUpdated();

          Also, why are you using XMLListCollection for the tree dataProvider instead of just using the root XML?