//动态添加文本框
var channelFieldSet=Ext.getCmp("channelInfoId");
var rciName=new Ext.form.TextField({xtype : "textfield",fieldLabel : "名称",columnWidth :1 / 3,readOnly:true,value:resText.data.rciName});
channelFieldSet.add(rciName);
//动态添加panel
var mypanel=new Ext.panel.Panel({
title :false ,
layout:"column",
margin:'5 5 5 5',
bodyStyle: 'border-color:black;',//设置panel的边框颜色
columnWidth :1 / 3,
bodyBorder:false,
items:[{
xtype : "textfield",
fieldLabel :"名称",
columnWidth :1,
readOnly:true,
value:resArray[i].resName
}]
});
deviceFieldSet.add(mypanel);//添加panel到fieldSet