PDA

View Full Version : Grid editor field



yehudagoldner
24 Oct 2010, 12:59 AM
I have a EditorGridPanel component and i have a editable field with combobox

var field = new Ext.form.ComboBox({store:['Yes','No'],value:'', lazyRender:true, triggerAction: 'all', listeners:{'change':myFunction}});

when user changes the value of this field and press enter the 'myFunction' is being called.
'myfunction' suppose to send ajax request to the server and update the field in the DB, But for doing that i need the ID of the changed field. (which stored at the edited row)

So, how can i reach the row's data of the edited field?

thanks!

Animal
24 Oct 2010, 4:04 AM
http://dev.sencha.com/deploy/dev/docs/?class=Ext.grid.EditorGridPanel&member=afteredit

yehudagoldner
24 Oct 2010, 4:32 AM
it worked