简体   繁体   English

现代版本EXT JS 6.2.0中的loadRecord()方法

[英]The loadRecord() method in modern version EXT JS 6.2.0

From documentation 6.2.0 EXTJS , the loadRecord() method is available only in the classic version. 在文档6.2.0 EXTJSloadRecord()方法仅在classic版本中可用。 How can I replace it in the modern version? 如何在modern版本中替换它? I want to get the following effect only in the modern version 6.2.0: 我只想在modern版本6.2.0中获得以下效果:

if (record) {
    me.dialog.down("forms").loadRecord(record);
}

您可以像这样使用setValues函数:

myForm.setValues(record);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM