PDA

View Full Version : Ver3.3 Upgrade GridPanel CheckboxSelectionModel MultiSelect Error



sato hiroto
26 Oct 2010, 1:28 AM
Ver3.3 Upgrade
GridPanel CheckboxSelectionModel is Multi Select Error

Ext.fly(this.grid.getView().innerHd).on('mousedown', this.onHdMouseDown, this);
?This Line:76903

ext-all-debug-w-comments.js
initEvents : function(){
Ext.grid.CheckboxSelectionModel.superclass.initEvents.call(this);
this.grid.on('render', function(){
//?3.30
// Ext.fly(this.grid.getView().innerHd).on('mousedown', this.onHdMouseDown, this);
//?3.30
//?3.20
var view = this.grid.getView();
view.mainBody.on('mousedown', this.onMouseDown, this);
Ext.fly(view.innerHd).on('mousedown', this.onHdMouseDown, this);
//?3.20
}, this);
},

Sesshomurai
5 Nov 2010, 5:36 AM
Yeah, it seems multiselect with Checkbox selection model in 3.3 grids no longer works. I see this as well.

keckeroo
17 Mar 2011, 8:02 AM
Bump ....

adam45
15 Dec 2011, 2:21 AM
Hate bumping threads this old, but if anyone has a solution to this, it'll be great!

Code below for reference.



var sm = new Ext.grid.CheckboxSelectionModel({ singleSelect:false,
header:''
});