Ext.grid.Feature class is a new class included in Ext JS 4 designed for creating optional grid features. In older versions of the framework plugins were one way of adding custom functionality to grids, but the Sencha team have created a more organized way of doing this. With this class we can inject additional functionality in certain points of the grid's creation cycle.
In Ext JS 4 we have four main classes that extend from
This feature displays the grid rows in groups; the configuration has to be done in the grid with the feature property and has to be done on the grid store as well.
First we have to change our store a little bit as shown in the following code: