Chapter 5. Buttons and Toolbars

When working with buttons and toolbars, we will definitely need to arrange them whenever we use window or panel components. Toolbars are a great way of adding buttons and menus, and we can create button groups. However, we also need to understand how to handle events to execute actions. We can add actions to our widgets using callbacks and events to process user interaction.

In this chapter, you are going to learn how to create buttons and toolbars and how to handle an event (or events) in order to begin with user interaction on the Ext JS UI.

Event-driven development

Before we start talking about components, you need to understand how events and listeners work behind the scenes. The first thing you need to learn is ...

Get Learning Ext JS - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.