Grid Panel 的scroll bar 问题

Grid Panel 的scroll bar 问题,
1/ Grid Panel应该放在一个Container中, 如VIEWPORT
2/ Grid Panel的配置里不要有autoWidth, autoHeigh, autoScroll

It's the layout of the container that you have to set, ie:

var tp = new Ext.TabPanel({
    items: [{
        title: 'First tab',
        layout: 'fit',
        items: new Ext.GridPanel({ title: "Grid panel" })
    },{
        title: 'Second tab'
    }]
});
Fit layouts mean that there is only one item in the container and it should expand to take all available space. Remove all explicit references to width, autoWidth, etc.

你可能感兴趣的:(ext,IE)