These days we are shifting our software from 3 to 4 in 3.1 we had :
Code:
/*
Ext.define('Application.ClientGrid', { // for 4.x
extend: 'Ext.grid.Panel',
*/
Application.ClientGrid= Ext.extend(Ext.grid.GridPanel, { // for 3.x
mainInfoBar : '',
otherInfoBar : '',
..
.. initComponent: function() {
this.mainInfoBar = this.buildMainInfoBar();
this.bbar = this.otherInfoBar; // initialized bar
}
listeners: {
render:function(thisObject,eOpts ) {
this.mainInfoBar.render(this.bbar);
}
}
}
But this donot work any more in 4.x
Error:
Uncaught TypeError: Cannot read property 'insertAdjacentHTML' of null
My guess is that I dont see "render" function in toolbar ExtJs4 API is that the problem if yes then which new function is going to be used instead of this ? can some body please guide !!
any help will be appreciated!
Thanx
Wacky