Hi,
One possible solution I think, but check it
1.
function beforeInit(sender, config)
{
config.enableLocking = true;
Ext.define('Ext.overrides.selection.CheckboxModel', {
override: 'Ext.selection.CheckboxModel',
hasLockedHeader: function() {
return this.callParent(arguments) || this.view.ownerGrid.lockable;
},
onReconfigure: function(grid, store, columns) {
if (columns && grid.lockable) {
grid.lock(this.column, 0);
grid.view.refreshView();
return;
}
return this.callParent(arguments);
}
});
}
2.
function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
columns.forEach(function(col){
col.lockable=false
});
}