简体   繁体   English

如何使ExtJS网格响应

[英]How make ExtJS grid responsive

How make ExtJS grid responsive. 如何使ExtJS网格响应。 That would grid stretched across the width of the browser window. 那将在浏览器窗口的整个宽度上延伸网格。 Thanks! 谢谢!

 Ext.create('Ext.grid.Panel', { title: 'Simpsons', height: 200, width: 400, renderTo: Ext.getBody() }); 

Ext.create('Ext.grid.Panel', {
    title: 'Simpsons',
    height: 200,
    width: '100%',
    renderTo: Ext.getBody()
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM