[King.yue]Ext.JS 弹出窗体取值赋值

//从Grid取值
var name = Ext.getCmp(gridGridID).getView().getSelectionModel().getSelection()[0].data.Name;
var code = Ext.getCmp(gridGridID).getView().getSelectionModel().getSelection()[0].data.Code;
//赋值ID
Ext.getCmp(‘@V.ID_TXT_NAME‘).setValue(name);//不用刷新Form
Ext.getCmp(‘@V.ID_TXT_CODE‘).setValue(code);
//关闭窗体
Ext.getCmp(windowsID).close();

[King.yue]Ext.JS 弹出窗体取值赋值,布布扣,bubuko.com

[King.yue]Ext.JS 弹出窗体取值赋值

上一篇:Windows8 解决VMware与Hyper-V不兼容共存方法


下一篇:cygwin完全安装步骤方法(组图)