zvi
21 Apr 2011, 12:39 AM
[LEFT]I have EditorGridPanel inside the Ext.Window with a Save button . When editing some field and clicking the Save button right away (without explicitly leaving the Editor with Tab or Enter ) , the grid store will be updated after the Save button handler , and thus non-updated data will be posted to server .
The cause for this in my opinion is the following line in the initEvents method of Ext.form.Field:
this.mon(this.el, 'blur', this.onBlur, this, this.inEditor ? {buffer:10} : null);
[FONT=Calibri][SIZE=3]The 10 mili-seconds delay causes the save button handler to fire before the
The cause for this in my opinion is the following line in the initEvents method of Ext.form.Field:
this.mon(this.el, 'blur', this.onBlur, this, this.inEditor ? {buffer:10} : null);
[FONT=Calibri][SIZE=3]The 10 mili-seconds delay causes the save button handler to fire before the