Grouping records in a grid provides a very simple yet powerful way to make meaningful deductions quickly from potentially large data. In a company stock data sheet grid, we could group the records by industry so that companies will be grouped together by their respective industries.
Create a grid with
ColumnConfig objects, and
GroupingStore instead of a regular
ListStore, then set the column on which to perform the grouping operation using the
groupBy() method of the
GroupingStore class. Finally, set the grid's view to a
GroupingView which extends the standard
GridView class to provide specialized ...