Just make a few function calls in a function callback function. Below is a complete example of this ...
Working script
Ext.create('Ext.grid.property.Grid', {
title: 'Properties Grid',
width: 300,
renderTo: Ext.getBody(),
functionOne: function() {
alert("functionOne called");
},
functionTwo: function() {
alert("functionTwo called");
},
listeners: {
afterrender: function() {
var me = this;
me.functionOne();
me.functionTwo();
}
}
});
source
share