|
Hi there! I’m new on flex and I don’t know how to
implement this. I’m using a ComboBoxCellRenderer.as from MM (or Adobe),
to put a Combo inside a Datagrid. So, in this class, I have this function: function handleEvent(evt:Object):Void { if (evt.type ==
"change") { // get the row
data corresponding to the current itemIndex (row #) var rd =
listOwner.getItemAt(getCellIndex().itemIndex); // update the
row's COMBODATA.selectedIndex with that of selectedIndex of // the combo box rd.COMBODATA.selectedIndex
= combo.selectedIndex; // update the
dataProvider to reflect this. this will cause setValue() to // be triggered
again, which then uses the COMBODATA.selectedIndex to // set the
comboBox properly. listOwner.editField(getCellIndex().itemIndex,"COMBODATA",rd.COMBODATA); } } It is working with no problems. But I’m case, I
have a datagrid who has this function cellEdit="fCarregaGridCliente(event)"
and until now, this function only does it wsProposta.ClienteAtualiza.send() [my
webservice to data update]; If I change, for example, the client’s name
the function is called, but nothing happen if I change my combo maded by ComboBoxCellRenderer. So, How can I call this webservice [wsProposta.ClienteAtualiza.send()]
after the change event in the combo? Thks in advance! --------->--------->--------- Internet Officer Yahoo! Groups Links
|
- RE: [flexcoders] Calling a WebService from a Class Fernando Barros
- RE: [flexcoders] Calling a WebService from a Class Dirk Eismann

