如何删除分组中的滚动

时间:2014-01-28 18:56:10

标签: extjs gridpanel

我在表单中使用extJs 4.2.1 gridpanel和分组功能。

features: [
    {
        ftype: 'grouping',
        groupHeaderTpl: '<b>{[values.children[0].data.typeName]}</b>',
        hideGroupedHeader: false,
        collapsible : false,
        startCollapsed: false,
        id: 'directorInfoGroupping'
    }
],

我在网格面板的按钮中滚动(查看图像),如何删除或隐藏它?

enter image description here

2 个答案:

答案 0 :(得分:0)

您想要添加以下属性

autoScroll :false

有关详细信息,请参阅此处http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.Panel-cfg-autoScroll

答案 1 :(得分:0)

我发现gridpanel属性'scroll':

scroll : String/Boolean
Scrollers configuration. Valid values are 'both', 'horizontal' or 'vertical'. True implies 'both'. False implies 'none'.

它帮助我:))