Why is the form not loaded into Ext js to edit the record?
onUpdDiary: function() { var win = Ext.widget('addWindowForm'); var form = win.down('form'); var record = form.getRecord(); var values = form.getValues(); record.set(values); }, An error occurs:
TypeError: record is undefined
getRecord()indata.Modelthere is at least one loaded instance? if it is not there, an attempt is made to callset(values)forundefined. - Vyacheslav Danshin