Hello,

I have added a combobox cellRenderer to an editable datagrid like in 
this example. I use the propertyChangeEvent of the ObjectProxies array 
passed as dataprovider to update the data change, but for the combobox, 
the event seems not triggered.

I think it's because the value of the comboBox is changed 
programmatically, and have tried to simulate an event like :

public function onChange():void
    {
    var index:int = editor.selectedIndex;
    result = uint( dpValue[index].data );
               
    //dispatch an event to alert the update
    editor.dispatchEvent( PropertyChangeEvent.createUpdateEvent(
            dpValue[index],
            "refid",
            null,
            result
            ) );
    }



but the result is the same, event is not triggered and the value is not 
updated.

Any idea about the way to have a correct update ?


Thanks in advance


Thierry

Reply via email to