这是我window的配置项
方法一:
id : 'xxxxxx',
layout : 'form',
title : 'xxxxx,
closable : true,
modal : true,
constrain : true,
width : 600,
height : Ext.getBody().getComputedHeight() * 3 / 4,
plain : true,
buttonAlign : 'center',
autoScroll : true,
[color=red]bodyStyle:'overflow-y:auto;overflow-x:hidden',[/color] autoHeight : false,
items : hostComputerForm,
为什么不能实现隐藏水平滑动条,
我还试了一种方法,
document.body.style.overflowx = "hidden";
也没有实现,很奇怪,???
关于ext中window如何隐藏水平滑动条
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
lizhiyezi 2010-11-09 09:12关注上面代码吧autoScroll : true, 去了就行啦。
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报