关于Ext4 Buffer + CheckboxModel 不能全选

之前使用Ext3.3的BufferView+CheckboxModel 全选数据后,滚动滚动条是可以有全选数据的效果的,
但使用Ext4后,这个效果就没有了,请问大家有找到解决方法吗?

[quote]The property disableSelection, which we have to set as false, because the infinite grid does not support selection.[/quote]

我试了下确实不行,貌似infinite grid 不支持selection。

var sm = Ext.create('Ext.selection.CheckboxModel');
var grid = Ext.create('Ext.grid.Panel', {
store: ...,
selModel: sm,
columns: [],
columnLines: true,
......
});

这个貌似是extjs4.0的一个bug。升级到最新版本试试。
http://www.sencha.com/forum/showthread.php?129778-OPEN-EXTJSIV-555-Lost-Selection-in-buffered-grid.

我这里没出现你说的问题啊,设置为buffer为false也管用

设置buffer 为ture管用

selection model 默认就是multi的,不用设置。我用的是4.0.7没出现这个问题啊

没有那么多复杂的配置,默认scroll是both的不用加verticalScroller
[code="java"]{
xtype: 'gridpanel',
itemId: 'FailedGrid',
store: buildGridStore(me),
flex: 1,
region: 'center',
columns: [

                    ],
                    viewConfig: {

                    },
                    selModel: Ext.create('Ext.selection.CheckboxModel',{

                    })

}[/code]

96条,往下滚动到底部也是全选数据状态