Properties Methods Events Config Options Direct Link
Observable
  Store
    GroupingStore

Class Ext.data.GroupingStore

Package:Ext.data
Defined In:GroupingStore.js
Class:GroupingStore
Extends:Store
A specialized store implementation that provides for grouping records by one of the available fields. This is usually used in conjunction with an Ext.grid.GroupingView to provide the data model for a grouped GridPanel. Internally, GroupingStore is simply a normal Store with multi sorting enabled from the start. The grouping field and direction are always injected as the first sorter pair. GroupingView picks up on the configured groupField and builds grid rows appropriately.

Config Options

Config OptionsDefined By
 data : Array
An inline data object readable by the reader. Typically this option, or the url option will be specified.
Store
 groupField : String
The field name by which to sort the store's data (defaults to '').
GroupingStore
 proxy : Ext.data.DataProxy
The DataProxy object which provides access to a data object. See url.
Store

Public Properties

PropertyDefined By
 fields : Ext.util.MixedCollection
A MixedCollection containing the defined Fields for the Records stored in this Store. Read-only.
Store
 hasMultiSort : Boolean True if this store is currently sorted by more than one field/direction combination.
Store
 isDestroyed : Boolean True if the store has been destroyed already. Read only
Store
 multiSortInfo : Object Object containing overall sort direction and an ordered array of sorter configs used when sorting on multiple fields
Store

Public Methods

MethodDefined By

Public Events

EventDefined By