Ext4使用总结(三) 使用Model加载Form

来源:互联网 发布:淘宝假冒品牌怎么处理 编辑:程序博客网 时间:2024/06/08 05:15
    loadFormData: function (modelPath, formName, centerpage, record) {        Ext.ModelManager.getModel(modelPath).load(record.data.id, {             failure:function (record, operation) {//                console.log(operation);            },            success:function (record, operation) {                centerpage.down(formName).loadRecord(record);            },            scope:centerpage        });    }
0 0