Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-07 Thread Sergey Kovalyov
Thanks, Manish! I will try this. Sergey. On Tue, Jan 6, 2009 at 6:58 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Tue, Jan 6, 2009 at 10:27 PM, Manish Jethani manish.jeth...@gmail.com manish.jethani%40gmail.com wrote: function doWorkaround() { var e = new

Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-06 Thread Manish Jethani
On Tue, Dec 30, 2008 at 7:52 PM, Sergey Kovalyov skovalyov.flexcod...@gmail.com wrote: [comments inline] Steps to reproduce: Create an application with the Tree component instance and XMLListCollection dataProvider binded to it that contains 5 items: private var itemsXML : XML = items

Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 10:27 PM, Manish Jethani manish.jeth...@gmail.com wrote: function doWorkaround() { var e = new CollectionEvent(collectionChange); e.kind = update; Hey, I meant: e.kind = reset; That'll refresh everything. myXMLListCollection.dispatchEvent(e); } Manish

[flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2008-12-30 Thread Sergey Kovalyov
Hi All! *Steps to reproduce:* 1. Create an application with the Tree component instance and XMLListCollection dataProvider binded to it that contains 5 items: - private var itemsXML : XML = items item name=Item 1 isBranch=true / item name=Item 2 isBranch=true /