[King.yue]Ext.JS 弹出窗体取值赋值
2020-11-19 11:33
标签:code ext get set cti name //从Grid取值 [King.yue]Ext.JS 弹出窗体取值赋值,搜素材,soscw.com [King.yue]Ext.JS 弹出窗体取值赋值 标签:code ext get set cti name 原文地址:http://www.cnblogs.com/teamate/p/3706136.html
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 弹出窗体取值赋值
文章链接:http://soscw.com/index.php/essay/21939.html