87,907
社区成员
发帖
与我相关
我的任务
分享
var tableYc = Ext.create('Ext.grid.Panel', {
//title: 'Simpsons',
store : chargeElecYcStore,
border : 2,
region : 'center',
autoScroll : true,
height:height*0.6-10,
columns : [ {
text : '变量序号',
dataIndex : 'ycNo',
flex : 0
},{
text : '变量名称',
dataIndex : 'ycNm',
flex : 1
}],
width : width*0.2,
listeners:{
'rowclick':function(grid,row){
alert('click');
},
'rowdblclick' : function(grid,row){
alert('doubleclick');
}
}
});