Solution:
1. Modify ext-all.css, find .x-grid3-header-offset, and modify it to .x-grid3-header-offset{padding-left:1px;/*width:10000px;*/ width:auto;}
2. Add the following code to the grid:
monitorResize: true,
doLayout: function() {
this.setSize(Ext.get(this.getEl().dom.parentNode).getSize(true));
Ext .grid.GridPanel.prototype.doLayout.call(this);
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn