Featured Posts

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid... This tutorial will walk through how to implement a CRUD (Create, Read, Update, Delete) DataGrid using ExtJS, Spring MVC 3 and Hibernate 3.5. What do we usually want to...

Readmore

ExtJS plugin: PagingToolbarResizer Well, this is my first ExtJS plugin. Though it is not an advanced plugin, I'm very happy and it is a big accomplishment for me! The problem: ExtJS PagingToolbar Component...

Readmore

Hibernate 3 Annotations Tutorial This tutorial will walk through how to implement a hello world project using Hibernate Annotations and MySQL database. Requirements Download and unzip Hibernate Core...

Readmore

My DeveloperWorks: What's life like for a female Java... Just wanted to share with you my interview on Valerie's My developerWorks blog: Interview with Loiane Groner, Java developer in Brazil. I'm very happy, because this interview...

Readmore

Getting started with ExtJS in your J2EE project This tutorial will walk through how to get an Ext JS installation up and running quickly in your java (J2EE) project. Level: Basic This is the screenshot of this tutorial: First,...

Readmore

Loiane Groner Rss

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!

Comments (1)

[...] 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 [...]

Write a comment