Something like the following process:
myCollection.enableAutoUpdate();
myCollection.itemUpdated(someItem,
someProperty,someOldValue,someNewValue);
myCollection.disableAutoUpdate();
myColleciton.refresh(); // just to be sure
I have it working fine with the itemUpdated and refresh. I usually
don't bother with the auto update stuff - but it might be needed for
your scenario. From what I understand, refresh() should always cause
a data binding event for the TileList to update it's data.
good luck,
jon
On Sep 12, 2007, at 12:47 PM, Adnan Doric wrote:
Hello all,
I have a TileList binded to an ArrayCollection.
If I add more items to the ArrayCollection the TileList updates,
but if
I try to change an already existing item in the ArrayCollection, the
TileList doesn't change.
I tried with List component and I don't have this problem, the view is
correctly updated.
Is there something I'm doing wrong or not doing :) ?
Thank you for your response