设置Ext Grid的样式为:
style : {
padding : '1px 20px 20px 20px',
height : '100%',
//width : '100%'
},
结果是:
改为:
style : {
padding : '1px 20px 20px 20px',
//height : '100%',
//width : '100%'
},
并设置:
autoHeight:true
后如图: