📄 ext.data.groupingstore.html.svn-base
字号:
<div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.data.GroupingStore-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.data.GroupingStore-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.data.GroupingStore-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.data.GroupingStore-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.data.GroupingStore"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div> <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.data.Store" ext:member="" href="output/Ext.data.Store.html">Store</a> <img src="resources/elbow-end.gif"/>GroupingStore</pre></div> <h1>Class Ext.data.GroupingStore</h1> <table cellspacing="0"> <tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr> <tr><td class="label">Defined In:</td><td class="hd-info">GroupingStore.js</td></tr> <tr><td class="label">Class:</td><td class="hd-info">GroupingStore</td></tr> <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.data.Store" ext:member="" href="output/Ext.data.Store.html">Store</a></td></tr> </table> <div class="description"> A specialized store implementation that provides for grouping records by one of the available fields. </div> <div class="hr"></div> <a id="Ext.data.GroupingStore-configs"></a> <h2>Config Options</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Config Options</th> <th class="msource-header">Defined By</th> </tr> <tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-autoLoad"></a>
<b>autoLoad</b> : Boolean/Object <div class="mdesc">
If passed, this store's load method is automatically called after creation with the autoLoad object </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#autoLoad" href="output/Ext.data.Store.html#autoLoad">Store</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-baseParams"></a>
<b>baseParams</b> : Object <div class="mdesc">
An object containing properties which are to be sent as parameters on any HTTP request </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#baseParams" href="output/Ext.data.Store.html#baseParams">Store</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-data"></a>
<b>data</b> : Array <div class="mdesc">
Inline data to be loaded when the store is initialized. </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#data" href="output/Ext.data.Store.html#data">Store</a></td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-groupField"></a>
<b>groupField</b> : String <div class="mdesc">
The field name by which to sort the store's data (defaults to ''). </div>
</td>
<td class="msource">GroupingStore</td>
</tr>
<tr class="config-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-groupOnSort"></a>
<b>groupOnSort</b> : Boolean <div class="mdesc">
<div class="short">True to sort the data on the grouping field when a grouping operation occurs, false to sort based on the existing sor...</div>
<div class="long">
True to sort the data on the grouping field when a grouping operation occurs, false to sort based on the existing sort info (defaults to false). </div>
</div>
</td>
<td class="msource">GroupingStore</td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-listeners"></a>
<b>listeners</b> : Object <div class="mdesc">
<div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
<div class="long">
A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-proxy"></a>
<b>proxy</b> : Ext.data.DataProxy <div class="mdesc">
The Proxy object which provides access to a data object. </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#proxy" href="output/Ext.data.Store.html#proxy">Store</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-pruneModifiedRecords"></a>
<b>pruneModifiedRecords</b> : boolean <div class="mdesc">
<div class="short">True to clear all modified record information each time the store is loaded or when a record is removed. (defaults to...</div>
<div class="long">
True to clear all modified record information each time the store is loaded or when a record is removed. (defaults to false). </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#pruneModifiedRecords" href="output/Ext.data.Store.html#pruneModifiedRecords">Store</a></td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-reader"></a>
<b>reader</b> : Ext.data.DataReader <div class="mdesc">
<div class="short">The DataReader object which processes the data object and returns an Array of Ext.data.Record objects which are cache...</div>
<div class="long">
The DataReader object which processes the data object and returns an Array of Ext.data.Record objects which are cached keyed by their <em>id</em> property. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#reader" href="output/Ext.data.Store.html#reader">Store</a></td>
</tr>
<tr class="config-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-remoteGroup"></a>
<b>remoteGroup</b> : Boolean <div class="mdesc">
<div class="short">True if the grouping should apply on the server side, false if it is local only (defaults to false). If the grouping ...</div>
<div class="long">
True if the grouping should apply on the server side, false if it is local only (defaults to false). If the grouping is local, it can be applied immediately to the data. If it is remote, then it will simply act as a helper, automatically sending the grouping field name as the 'groupBy' param with each XHR call. </div>
</div>
</td>
<td class="msource">GroupingStore</td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-remoteSort"></a>
<b>remoteSort</b> : boolean <div class="mdesc">
<div class="short">True if sorting is to be handled by requesting the Proxy to provide a refreshed version of the data object in sorted ...</div>
<div class="long">
True if sorting is to be handled by requesting the Proxy to provide a refreshed version of the data object in sorted order, as opposed to sorting the Record cache in place (defaults to false). <p>If remote sorting is specified, then clicking on a column header causes the current page to be requested from the server with the addition of the following two parameters: <div class="mdetail-params"><ul> <li><b>sort</b> : String<p class="sub-desc">The name (as specified in the Record's Field definition) of the field to sort on.</p></li> <li><b>dir</b> : String<p class="sub-desc">The direction of the sort, "ASC" or "DESC" (case-sensitive).</p></li> </ul></div></p> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#remoteSort" href="output/Ext.data.Store.html#remoteSort">Store</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-sortInfo"></a>
<b>sortInfo</b> : Object <div class="mdesc">
A config object in the format: {field: "fieldName", direction: "ASC|DESC"}. The direction property is case-sensitive. </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#sortInfo" href="output/Ext.data.Store.html#sortInfo">Store</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-storeId"></a>
<b>storeId</b> : String <div class="mdesc">
If passed, the id to use to register with the StoreMgr </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#storeId" href="output/Ext.data.Store.html#storeId">Store</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-url"></a>
<b>url</b> : String <div class="mdesc">
If passed, an HttpProxy is created for the passed URL </div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#url" href="output/Ext.data.Store.html#url">Store</a></td>
</tr>
</table> <a id="Ext.data.GroupingStore-props"></a> <h2>Public Properties</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Property</th> <th class="msource-header">Defined By</th> </tr> <tr class="property-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-baseParams"></a>
<b>baseParams</b> : Object <div class="mdesc">
<div class="short">An object containing properties which are used as parameters on any HTTP request.This property can be changed after ...</div>
<div class="long">
An object containing properties which are used as parameters on any HTTP request.This property can be changed after creating the Store to send different parameters. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.data.Store" ext:member="#baseParams" href="output/Ext.data.Store.html#baseParams">Store</a></td>
</tr>
<tr class="property-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.data.GroupingStore-lastOptions"></a>
<b>lastOptions</b> : Object <div class="mdesc">
<div class="short">Contains the last options object used as the parameter to the load method. See loadfor the details of what this may ...</div>
<div class="long">
Contains the last options object used as the parameter to the load method. See <a ext:cls="Ext.data.Store" ext:member="load" href="output/Ext.data.Store.html#load">load</a>for the details of what this may contain. This may be useful for accessing any params which
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -