Ext JS Grid在IE6 下宽度的问题解决方法

时间:2009-02-15    点击:106   
解决方法:
1、修改ext-all.css,找到.x-grid3-header-offset,修改为.x-grid3-header-offset{padding-left:1px;/*width:10000px;*/width:auto;}
2、在grid中加入下面代码:
复制代码 代码如下:

monitorResize: true,
doLayout: function() {
this.setSize(Ext.get(this.getEl().dom.parentNode).getSize(true));
Ext.grid.GridPanel.prototype.doLayout.call(this);
}
js window.event对象详尽解析
js实现权限树的更新权限时的全选全消功能
JavaScript 全面解析各种浏览器网页中的JS 执行顺序
JSON扫盲帖 JSON.as类教程
动态为事件添加js代码示例
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved