concept GridPanel in category ext js

appears as: GridPel
Ext JS in Action, Second Edition

This is an excerpt from Manning's book Ext JS in Action, Second Edition.

The newly refactored GridPanel is a subclass of Panel and presents data in a table-like format, but its functionality extends far beyond that of a traditional table, offering sortable, resizable, and movable column headers and selection models such as Row-SelectionModel and CellSelectionModel. You can customize its look and feel and couple it with a paging toolbar to allow large datasets to be segmented and displayed in pages. It contains many features and plug-ins, allowing you to do tasks such as edit by row or cell, or lock a column. The data view shown in figure 1.8 renders photos and other bits of data for various phones on the market.

13.3.2. Extending GridPanel

To extend the GridPanel class you’ll use Ext.define. The following listing contains the template for the extension that you’ll create. The best place to put this code is in a separate file included in your HTML. Because you’re not using a loader, you can name it ContextMenuGridPanel.js.