In Ext JS 3, data grouping was achieved by using the specialist GroupingStore. As a result, grouping data could not be done with more general Store classes. Fortunately, Ext JS 4 encapsulates this grouping functionality into the base Store class so groupings can now be defined on any Store.
We will delve into groupings with a simple example that loads some XML data taken from the Twitter API. We will then continue to demonstrate how to group by specific fields, examine the groupings' data, and manipulate these groupings on the fly.
We will then investigate how we can use these groupings to perform aggregate operations.
We will be loading our XML data through an AJAX call and so you must run these examples on a ...