Learn from Saki

Knowledge is power

This content is for registered users only. Please login.
Hello! To access your account, please Log in. Not a member? Sign up
  • Videos
  • Blog
  • Examples
  • Services
  • Add-ons
  • About

Which events are fired?

May 18, 2008 by saki 6 Comments

Code in this post can be obsolete, however, principles and theory may still apply.
We need to know all events that are fired by a component and in which order sometimes. It is easy to find out.

Let’s say that the component in question has id my-comp. Load the page with the component, open Firebug, Console tab, and type:

1
Ext.util.Observable.capture(Ext.getCmp('my-comp'), console.info)

Now do some actions with the component and watch the Firebug output.

  • About
  • Latest Posts
Follow me:

saki

I'm a well seasoned developer, consultant and educator of web applications based mainly on Sencha libraries, PHP, MySQL and Node.js. Besides (Apple) computers, I love photography and mountain biking.
Follow me:

Latest posts by saki (see all)

  • Ext, Angular, React, and Vue - June 27, 2019
  • The Site Resurgence - February 11, 2018
  • Configuring ViewModel Hierarchy - June 19, 2015

Filed Under: Know-how Tagged With: event, extjs, Know-how, listener

Comments

  1. loeppky says

    May 19, 2008 at 9:17 pm

    Good little trick. Thanks for passing it on.

    Log in to Reply
  2. Saki says

    May 20, 2008 at 12:14 am

    You’re welcome. Hopefully more of such are to come… 😉

    Log in to Reply
  3. Douglas Ross says

    January 30, 2009 at 11:09 am

    Saki,

    The amount of time you have saved me over the last few months is immense – thanks very much, you are great.

    Doug

    Log in to Reply
  4. Mauro says

    July 15, 2009 at 6:19 pm

    weri guud!!

    Log in to Reply
  5. MrSparks says

    January 5, 2011 at 10:30 pm

    Just what I needed! Thank you once again Saki

    Log in to Reply
  6. bikash shrestha says

    December 7, 2012 at 7:40 am

    can you please write an example for demonstrating Ext.panel.Panel

    Log in to Reply

We will be happy to hear back from you Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • Addons (2)
  • Architecture (14)
  • Examples (2)
  • ExtJS (26)
  • Howtos (16)
  • Javascript (1)
  • Know-how (32)
  • Linux (1)
  • Mac OS X (2)
  • SASS/CSS (2)
  • Snippets (9)
  • Theory (14)
  • Touch (6)
  • Tutorials (5)
  • What is a … (9)

Tag cloud

abstract class accordion application button class cluster column component config css definition deprecated design education event example extension extjs factory function form grid html initComponent items javascript Know-how knowledge layout Linux listener mysql old panel pattern php plugin render snippet sql sqlite state table touch tree viewpoint

Membership

Become a Member
Affiliate Program

Support

FAQ
Contact

Legal

Terms and Conditions
Licensing
Privacy Policy

Copyright © 2019 · Dynamik-Gen on Genesis Framework · WordPress · Log in