2 Replies Latest reply on Jan 30, 2008 6:50 AM by bkf123

    Explicitly dispose or initialize itemRenderer


      I use tree with my CustomItemRenderer.
      I dispose tree while some item in some branch is selected and highlighted according to CustomItemRenderer's behavior.
      Then i create the same tree with the same dataProvider. At this stage, there is no selected items.
      But when i expand (do not confuse with select) the same branch i see the same item highlighted
      (but, of course, not selected). It is the critical issue, since a user can be misleaded.
      I guess, it happens 'couse Flex does not dispose CustomItemRenderer and it remember its state.
      Any suggestion how I can explicitly dispose or initialize itemRenderer?