--- In [email protected], "Fotis Chatzinikos" 
<[EMAIL PROTECTED]> wrote:
>
> That will only work for XML based Trees, if you are not using xml 
but
> arraycollections then you would have to get to selectitem, find it 
in the
> dataprovider arraycollection and then try to find its parent, what 
i usually
> do have a reference parent inside the data model ie:
> 
> class TreeNode
> {
>     parent:TreeNode
>     label:String
>     data:Number
> }

HierarchicalCollectionView handles this for you:
http://flexdiary.blogspot.com/2008/07/musings-on-advanceddatagrid-
part-5_03.html

HTH;

Amy

Reply via email to