ExtJS - Events

Events

  • Events Fires , whenever some activity occurs in the components.
  • Following code has afterrender listener or event will be called after the   Ext.Component rendered.
   

 Ext.create('Ext.Panel', {
    html: 'Event Example',
    renderTo: Ext.getBody(),
    listeners: {
        afterrender: function() {
            Ext.Msg.alert('Panel is rendered');
        }
    }
});





No comments

Powered by Blogger.