I've got a DataGrid which uses a [Bindable] ArrayCollection as a
dataProvider. This arraycollection consits of objects.

If I change a property (e.g. myobject.value = 100) this is not reflected by
the DataGrid. When I click the column header to make it sort by value I see
the change.

I guess I have to dispatch an event to the dataProvider to tell it that a
value in one of its objects has changed. I tried doing that this way:

        var propEv:PropertyChangeEvent = new PropertyChangeEvent(
PropertyChangeEvent.PROPERTY_CHANGE, false, false,
PropertyChangeEventKind.UPDATE, property, valueBefore, item[ property ],
item);
        ArrayCollection(this.dataProvider).dispatchEvent( propEv );

.. from inside my datagrid, but that didn't do much.


Best regards,
Bjørn
-- 

========================
http://www.juicability.com - flex blog
http://www.43min.com - funny movies

Reply via email to