xjt2316229 2010-11-08 22:27
浏览 272
已采纳

关于ext中window如何隐藏水平滑动条

这是我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";
也没有实现,很奇怪,???

  • 写回答

1条回答 默认 最新

  • lizhiyezi 2010-11-09 09:12
    关注

    上面代码吧autoScroll : true, 去了就行啦。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?