Tried everything?
Pretty simple to read the code and see what it does, and add a workaround.
Code:
,init:function(grid) {
this.grid = grid;
// grid.on({scope:this, render:this.onRenderGrid});
grid.afterRender = grid.afterRender.createSequence(this.onRenderGrid, this);
var cm = this.grid.getColumnModel();
Ext.each(cm.config, function(c, idx) {
if('object' === typeof c.cellActions) {
c.origRenderer = cm.getRenderer(idx);
c.renderer = this.renderActions.createDelegate(this);
}
}, this);
},
So maybe something like
Code:
,init:function(grid) {
this.grid = grid;
// grid.on({scope:this, render:this.onRenderGrid});
grid.afterRender = grid.afterRender.createSequence(this.onRenderGrid, this);
grid.reconfigure = this.reconfigure.createDelegate(this);
this.initColModel(this.grid.getColumnModel());
},
reconfigure: function(store, colModel) {
this.initColModel(colModel);
Ext.grid.GridPanel.prototype.reconfigure.apply(this.grid, arguments);
},
initColModel: function(cm) {
Ext.each(cm.config, function(c, idx) {
if('object' === typeof c.cellActions) {
c.origRenderer = cm.getRenderer(idx);
c.renderer = this.renderActions.createDelegate(this);
}
}, this);
},