PDA

View Full Version : [FIXED-558] LockingGridView breaks if no unlocked columns exist



mankz
11 Feb 2010, 1:56 AM
Fix:


Ext.override(Ext.ux.grid.LockingColumnModel, {
getLockedCount : function(){
for(var i = 0, len = this.config.length; i < len; i++){
if(!this.isLocked(i)){
return i;
}
}
return len; // this line is added, as a fallback
}
});

edspencer
23 Feb 2010, 2:24 PM
Fixed in 6148. I also added some documentation to the Ext.ux.grid.LockingColumnModel methods

mankz
23 Feb 2010, 2:46 PM
Nice stuff! :) Going to the meetup tomorrow?

Jamie Avins
23 Feb 2010, 2:55 PM
Ed never leaves...

mankz
23 Feb 2010, 3:00 PM
Hehe, that's goooooood! :)

edspencer
23 Feb 2010, 7:21 PM
Nice stuff! :) Going to the meetup tomorrow?

Yup, I'll be there. Looking forward to it :)