Question

I use extJs 4.2.1 gridpanel with grouping feature in my form.

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

I have scroll(look at image) in buttom of my gridpanel, how I can delete or hide it?

enter image description here

Était-ce utile?

La solution 2

I find gridpanel property 'scroll':

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

It helps me :)

Autres conseils

You want add the following property

autoScroll :false

For more details see here http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.Panel-cfg-autoScroll

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top