ExtJS debug events fired by a component

with following code snipped you can easily observe all events fired by component.

Ext.util.Observable.capture(
Ext.getCmp('CmpId'),
function(e){
console.log(e);
}
);

On firebug console you can now see the names of the fired events .

Post to Twitter Tweet This Post Post to Delicious Delicious Post to Digg Digg This Post

Tags: , ,

Leave a comment