2009年7月29日星期三

Gwt ext GridPanel bug with: 100% width / setAutoWidth( true ) I

在用以下方式设定gwt ext GridPanel 宽度时
grid.setAutoWidth ( true );
or
grid.setWidth( "100%" );
会发生形如下图的边界错误问题,当前的Gwt ext 2.0.6 + Ext JS 2.0.2 版本下尚未解决。
image
临时解决方法为, 在<ModuleName>.html文件<head>中添加如下代码
<style type="text/css">
.x-grid3-header-offset {width:auto !important;}
</style>

没有评论:

发表评论