Hi Ralf, Thanks for your quick response.
I did look at the XMLListCollection but I could not figure out two things: - once I set the filterFunction so only the foldders are "kept" how do I still bound to the unfiltered model from the list? - more, I notice that the filter doesn't apply recursively to the hierarchy nodes and my source is XML, do I need to travese it and turn each node into a ListCollectionView? - how does this compare to providing my own ITreeDataDescriptor? Let's say I have: ROOT + Folder1 .- File1 .+ Folder2 ..- File2 ..- File3 ... in the tree I would like to see: ROOT .+ Folder1 ..+ Folder2 ... and when I select Folder 1 the list would show: File1 Folder2 At this point what I would really like is to have Folder2 pointing to the same object in the model and not a "copy" from databinding perspective so changing its icon in the model or deleting the item will be picked up by both the tree and the list. Not sure, I am looking at this from the right angle? --- In [email protected], "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Yes it is possible. Take a look at mx.collections.ListCollectionView. > Cheers, > Ralf. > > On 5/9/07, Sebastian Feher <[EMAIL PROTECTED]> wrote: > > > > I have an explorer type of app with a tree showing the folder structure > > and a list showing the children (both folders and files) of the > > selected node in the tree. > > > > Ideally I would like to have a single data model containing both the > > folders and the files so changes to the folders (icons, label, > > deletes ...) would be picked by the databinding - with no need to > > syncronize two models myself. > > > > What I'm thinking is to have a filtered model bound to the tree and the > > list bound to an unfiltered node's list. > > > > Does this make sense? and - is it possible? > > > > Regards, > > Sebastian > > > > > > > > > > -- > Ralf Bokelberg <[EMAIL PROTECTED]> > Flex & Flash Consultant based in Cologne/Germany > Phone +49 (0) 221 530 15 35 >

