Ext JS: Which events are fired by a component?
Posted on : 27-11-2009 | By : Loiane | In : ExtJS
1
Quick Tip:
Sometimes, we need to know all events that are fired by an Ext JS component.
It is easy to find out, just use the following code in Firebug:
Ext.util.Observable.capture(Ext.getCmp('id_my_grid'), console.info);
For example: let’s say that the component you want to analyze has id “id_my_grid”. Load the page with the component (project) using Firefox, open Firebug, Console tab and use the code above.
Now do some actions with the component and watch the Firebug output.
Happy coding and debuging!




[...] This post was mentioned on Twitter by Loiane, Miguel Cartagena. Miguel Cartagena said: RT @loiane: Ext JS: Which events are fired by a component? http://bit.ly/8uNdSK [...]