From documentation 6.2.0 EXTJS
, the loadRecord()
method is available only in the classic
version. How can I replace it in the modern
version? I want to get the following effect only in the modern
version 6.2.0:
if (record) {
me.dialog.down("forms").loadRecord(record);
}
You can use setValues function like this :
myForm.setValues(record);