0 Replies Latest reply on May 19, 2010 10:01 AM by ric_bia

    Delete a tree node having a ArrayCollection as data provider

    ric_bia Level 1

      I have a tree with an ArrayCollection as data provider.

       

      The ArrayCollection is composed by objects linked eachother by the "children" field (that is an Array containing other children objects)

       

      In a tree like:

      [A]

      - A1

      -- A11

      -- A12

      - A2

       

      How could I remove:

      1. a node like A2

      2. a node like A1 keeping A11 and A22 as children of A