【发布时间】:2011-09-26 16:56:08
【问题描述】:
我正在尝试用mode: 'MULTI' 实现Ext.selection.CellModel,但是网格仍然一次只允许选择一个单元格?
下面是一些示例代码:
var cellmodel = new Ext.selection.CellModel({
mode: 'MULTI'
});
var grid = new Ext.grid.Panel({
store: store,
selModel: cellmodel,
multiSelect: true,
....
});
是我遗漏了什么还是 Ext 代码本身的错误?
【问题讨论】:
-
ExtJS 4 中没有捆绑
CellModel,你能告诉我你从哪里得到这个代码吗? -
应该是selType:'rowmodel',multiSelect: true,
标签: extjs cell extjs4 multi-select