ExtJS 3.2 网格列标题分组在 Google Chrome 19 中不正确,但在其他版本中有效。
示例:http://myext.cn/ext-3.2.1/examples/grid/ColumnHeaderGroup.html .
谷歌浏览器 19:
火狐浏览器; Chrome 17,18:
有办法解决吗?
最佳答案
examples/ux/ColumnHeaderGroup.js:383 tw = this.getTotalWidth()
-> 970px
。
所有十个 .x-grid3-hd-row td
都有 style="width: 97px"
但每个列标题的实际大小是 99px
:97
由给定的 width
和 2
左右边框。在 firefox 中,我看到样式是 95px
所以所有标题都可以正常显示。
所以我认为这是与 box-sizing
和表中相应的列宽计算相关的某种旧 ExtJS 错误。
关于javascript - ExtJS 3.2 : Grid column header grouping,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10786606/