Ext JS: Which events are fired by a component?

November 27, 2009 | By | 2 Comments

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!

Filed in: ExtJS | Tags: ,

Leave a Reply

Trackback URL | RSS Feed for This Entry