[flexcoders] Tree updateList() not updating top level

2008-11-20 Thread Mark Carter
I have a component extending Tree and I use a custom ITreeDataDescriptor since I want to filter the visible nodes. I also use showRoot=false. When changes are made to the underlying data model (dataProvider) I call updateList(). This works fine for all but the top level items. If I add/remove a

Re: [flexcoders] Tree updateList() not updating top level

2008-11-20 Thread Mark Carter
My current workaround is to reset the dataprovider when a node at the top level (level below the root) is added/removed. This is not ideal because then all the open items are reset to closed. This can be more or less worked around too - but its not great. On another note, rather than calling