I have a grid that on selection binds the record to a form.
gridSelectionChange: function (model, records) {
if (records[0]) {
this.getFormdata().getForm().loadRecord(records[0]);
}
},
Everything works fine, but if I change any field value the grid is not updating the record and neither the datastore.
I have read that I have to call:
form.updateRecord();
But how can I call it on every lost of focus of my fields (textfield, combos, etc.)?
Is there a way to do the two way binding?