The Widget column

Ext JS 5 introduced in the last version a lightweight class called widget and a new type of grid column called widget column. Widgets are similar to components. They mainly consist of an Ext.dom.Element and associated listeners. Also, they are not derived from Ext.Component. Components have a more complex life cycle.

Note

For some review, check out the explanation of a component's life cycle in Chapter 3, Components and Layouts.

As a tradition, the flexibility and power that Ext JS offers let us create our custom widgets, and also, the library comes with some basic widgets, such as these:

  • Progress Bar (Ext.ProgressBarWidget or progressbarwidget)
  • Slider (Ext.slider.Widget or sliderwidget)
  • Sparklines (Ext.sparkline.*):
    • Line (sparklineline ...

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.