0
我ExtJS的4.2工作,我想隱藏gride隱藏所有的gride包括空間的標題和列
,但我的代碼,我可以探微隱藏Colonne的和gride的標題,但gride
的不佔空間我嘗試使用此代碼:
var myPanel= Ext.create('Ext.grid.Panel', {id:'test',store: testStore, collapsible:true,hidden: true,title:listRequestUPRegist,
columns: [{xtype: 'checkcolumn', hidden: true,header: 'test',dataIndex: 'checked', width:
60,listeners:{'checkchange': RequestGridSelectionChanged}}
],
columnLines: true,
anchor: '100%',
frame: true,
height: 250,
//margin: '5 5 5 5',
dockedItems: [{
xtype: 'toolbar',
dock: 'bottom',
ui: 'footer',
layout: {
pack: 'center'
},
items: [
{
xtype: 'button',
text: consultation,
}
]
}]
});