Chapter 3. Components and containers

This chapter covers

  • Getting to know the Component model and life cycle
  • Exploring the Ext JS Container model
  • Managing parent-child relationships of widgets
  • Implementing the Container model utility methods

I (Jay) recall my early days with the Ext framework, when I learned by toying with the examples and reading the API documentation. I spent many hours on some of the most important core UI concepts, such as adding user interaction, reusing widgets, and understanding how one widget can contain or control another. For instance, how would I make clicking an anchor tag display an Ext window? Sure, there’s a generic JavaScript way to attach an event handler, but I wanted to use Ext JS. Likewise, I needed ...

Get Ext JS in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.