Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.data.SimpleStore-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.data.SimpleStore-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.data.SimpleStore-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                            <a class="inner-link" href="#Ext.data.SimpleStore-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7
                        <a class="bookmark" href="../docs/?class=Ext.data.SimpleStore"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8
        </div>
9
                <div class="inheritance res-block">
10
<pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11
  <img src="resources/elbow-end.gif"/><a ext:cls="Ext.data.Store" ext:member="" href="output/Ext.data.Store.html">Store</a>
12
    <img src="resources/elbow-end.gif"/>SimpleStore</pre></div>
13
                <h1>Class Ext.data.SimpleStore</h1>
14
        <table cellspacing="0">
15
            <tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr>
16
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/data/SimpleStore.js" target="_blank">SimpleStore.js</a></td></tr>
17
            <tr><td class="label">Class:</td><td class="hd-info">SimpleStore</td></tr>
18
                                    <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>
19
                    </table>
20
        <div class="description">
21
            Small helper class to make creating Stores from Array data easier.        </div>
22
 
23
        <div class="hr"></div>
24
                <a id="Ext.data.SimpleStore-configs"></a>
25
        <h2>Config Options</h2>
26
        <table cellspacing="0" class="member-table">
27
            <tr>
28
                <th class="sig-header" colspan="2">Config Options</th>
29
                <th class="msource-header">Defined By</th>
30
            </tr>
31
                <tr class="config-row inherited">
32
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
33
        <td class="sig">
34
        <a id="Ext.data.SimpleStore-autoLoad"></a>
35
            <b>autoLoad</b> : Boolean/Object            <div class="mdesc">
36
                            If passed, this store's load method is automatically called after creation with the autoLoad object                        </div>
37
        </td>
38
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#autoLoad" href="output/Ext.data.Store.html#autoLoad">Store</a></td>
39
    </tr>
40
        <tr class="config-row inherited alt">
41
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
42
        <td class="sig">
43
        <a id="Ext.data.SimpleStore-baseParams"></a>
44
            <b>baseParams</b> : Object            <div class="mdesc">
45
                            An object containing properties which are to be sent as parameters on any HTTP request                        </div>
46
        </td>
47
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#baseParams" href="output/Ext.data.Store.html#baseParams">Store</a></td>
48
    </tr>
49
        <tr class="config-row">
50
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
51
        <td class="sig">
52
        <a id="Ext.data.SimpleStore-data"></a>
53
            <b>data</b> : Array            <div class="mdesc">
54
                            The multi-dimensional array of data                        </div>
55
        </td>
56
        <td class="msource">SimpleStore</td>
57
    </tr>
58
        <tr class="config-row alt">
59
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
60
        <td class="sig">
61
        <a id="Ext.data.SimpleStore-fields"></a>
62
            <b>fields</b> : Array            <div class="mdesc">
63
                            An array of field definition objects, or field name strings.                        </div>
64
        </td>
65
        <td class="msource">SimpleStore</td>
66
    </tr>
67
        <tr class="config-row">
68
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
69
        <td class="sig">
70
        <a id="Ext.data.SimpleStore-id"></a>
71
            <b>id</b> : Number            <div class="mdesc">
72
                            The array index of the record id. Leave blank to auto generate ids.                        </div>
73
        </td>
74
        <td class="msource">SimpleStore</td>
75
    </tr>
76
        <tr class="config-row inherited alt expandable">
77
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
78
        <td class="sig">
79
        <a id="Ext.data.SimpleStore-listeners"></a>
80
            <b>listeners</b> : Object            <div class="mdesc">
81
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
82
            <div class="long">
83
                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>
84
                        </div>
85
        </td>
86
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
87
    </tr>
88
        <tr class="config-row inherited">
89
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
90
        <td class="sig">
91
        <a id="Ext.data.SimpleStore-proxy"></a>
92
            <b>proxy</b> : Ext.data.DataProxy            <div class="mdesc">
93
                            The Proxy object which provides access to a data object.                        </div>
94
        </td>
95
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#proxy" href="output/Ext.data.Store.html#proxy">Store</a></td>
96
    </tr>
97
        <tr class="config-row inherited alt expandable">
98
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
99
        <td class="sig">
100
        <a id="Ext.data.SimpleStore-pruneModifiedRecords"></a>
101
            <b>pruneModifiedRecords</b> : boolean            <div class="mdesc">
102
                        <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>
103
            <div class="long">
104
                True to clear all modified record information each time the store is loaded or when a record is removed. (defaults to false).            </div>
105
                        </div>
106
        </td>
107
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#pruneModifiedRecords" href="output/Ext.data.Store.html#pruneModifiedRecords">Store</a></td>
108
    </tr>
109
        <tr class="config-row inherited expandable">
110
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
111
        <td class="sig">
112
        <a id="Ext.data.SimpleStore-reader"></a>
113
            <b>reader</b> : Ext.data.DataReader            <div class="mdesc">
114
                        <div class="short">The DataReader object which processes the data object and returns an Array of Ext.data.Record objects which are cache...</div>
115
            <div class="long">
116
                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>
117
                        </div>
118
        </td>
119
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#reader" href="output/Ext.data.Store.html#reader">Store</a></td>
120
    </tr>
121
        <tr class="config-row inherited alt expandable">
122
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
123
        <td class="sig">
124
        <a id="Ext.data.SimpleStore-remoteSort"></a>
125
            <b>remoteSort</b> : boolean            <div class="mdesc">
126
                        <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>
127
            <div class="long">
128
                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>
129
                        </div>
130
        </td>
131
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#remoteSort" href="output/Ext.data.Store.html#remoteSort">Store</a></td>
132
    </tr>
133
        <tr class="config-row inherited">
134
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
135
        <td class="sig">
136
        <a id="Ext.data.SimpleStore-sortInfo"></a>
137
            <b>sortInfo</b> : Object            <div class="mdesc">
138
                            A config object in the format: {field: "fieldName", direction: "ASC|DESC"}. The direction property is case-sensitive.                        </div>
139
        </td>
140
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#sortInfo" href="output/Ext.data.Store.html#sortInfo">Store</a></td>
141
    </tr>
142
        <tr class="config-row inherited alt">
143
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
144
        <td class="sig">
145
        <a id="Ext.data.SimpleStore-storeId"></a>
146
            <b>storeId</b> : String            <div class="mdesc">
147
                            If passed, the id to use to register with the StoreMgr                        </div>
148
        </td>
149
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#storeId" href="output/Ext.data.Store.html#storeId">Store</a></td>
150
    </tr>
151
        <tr class="config-row inherited">
152
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
153
        <td class="sig">
154
        <a id="Ext.data.SimpleStore-url"></a>
155
            <b>url</b> : String            <div class="mdesc">
156
                            If passed, an HttpProxy is created for the passed URL                        </div>
157
        </td>
158
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#url" href="output/Ext.data.Store.html#url">Store</a></td>
159
    </tr>
160
            </table>
161
                <a id="Ext.data.SimpleStore-props"></a>
162
        <h2>Public Properties</h2>
163
                <table cellspacing="0" class="member-table">
164
            <tr>
165
                <th class="sig-header" colspan="2">Property</th>
166
                <th class="msource-header">Defined By</th>
167
            </tr>
168
                <tr class="property-row inherited">
169
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
170
        <td class="sig">
171
        <a id="Ext.data.SimpleStore-baseParams"></a>
172
            <b>baseParams</b> : Object            <div class="mdesc">
173
                            An object containing properties which are used as parameters on any HTTP request.                        </div>
174
        </td>
175
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#baseParams" href="output/Ext.data.Store.html#baseParams">Store</a></td>
176
    </tr>
177
        <tr class="property-row inherited alt expandable">
178
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
179
        <td class="sig">
180
        <a id="Ext.data.SimpleStore-lastOptions"></a>
181
            <b>lastOptions</b> : Object            <div class="mdesc">
182
                        <div class="short">Contains the last options object used as the parameter to the load method. See load
183
for the details of what this may ...</div>
184
            <div class="long">
185
                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>
186
for the details of what this may contain. This may be useful for accessing any params which
187
were used to load the current Record cache.            </div>
188
                        </div>
189
        </td>
190
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#lastOptions" href="output/Ext.data.Store.html#lastOptions">Store</a></td>
191
    </tr>
192
            </table>
193
                <a id="Ext.data.SimpleStore-methods"></a>
194
        <h2>Public Methods</h2>
195
                <table cellspacing="0" class="member-table">
196
            <tr>
197
                <th class="sig-header" colspan="2">Method</th>
198
                <th class="msource-header">Defined By</th>
199
            </tr>
200
                <tr class="method-row expandable">
201
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
202
        <td class="sig">
203
        <a id="Ext.data.SimpleStore-SimpleStore"></a>
204
            <b>SimpleStore</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
205
                        <div class="short"></div>
206
            <div class="long">
207
                    <div class="mdetail-params">
208
        <strong>Parameters:</strong>
209
        <ul><li><code>config</code> : Object<div class="sub-desc"></div></li>        </ul>
210
        <strong>Returns:</strong>
211
        <ul>
212
            <li><code></code></li>
213
        </ul>
214
    </div>
215
                </div>
216
                        </div>
217
        </td>
218
        <td class="msource">SimpleStore</td>
219
    </tr>
220
        <tr class="method-row inherited alt expandable">
221
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
222
        <td class="sig">
223
        <a id="Ext.data.SimpleStore-add"></a>
224
            <b>add</b>(&nbsp;<code>Ext.data.Record[] records</code>&nbsp;) : void            <div class="mdesc">
225
                        <div class="short">Add Records to the Store and fires the add event.</div>
226
            <div class="long">
227
                Add Records to the Store and fires the add event.    <div class="mdetail-params">
228
        <strong>Parameters:</strong>
229
        <ul><li><code>records</code> : Ext.data.Record[]<div class="sub-desc">An Array of Ext.data.Record objects to add to the cache.</div></li>        </ul>
230
        <strong>Returns:</strong>
231
        <ul>
232
            <li><code>void</code></li>
233
        </ul>
234
    </div>
235
                </div>
236
                        </div>
237
        </td>
238
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#add" href="output/Ext.data.Store.html#add">Store</a></td>
239
    </tr>
240
        <tr class="method-row inherited expandable">
241
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
242
        <td class="sig">
243
        <a id="Ext.data.SimpleStore-addEvents"></a>
244
            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
245
                        <div class="short">Used to define events on this Observable</div>
246
            <div class="long">
247
                Used to define events on this Observable    <div class="mdetail-params">
248
        <strong>Parameters:</strong>
249
        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
250
        <strong>Returns:</strong>
251
        <ul>
252
            <li><code>void</code></li>
253
        </ul>
254
    </div>
255
                </div>
256
                        </div>
257
        </td>
258
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
259
    </tr>
260
        <tr class="method-row inherited alt expandable">
261
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
262
        <td class="sig">
263
        <a id="Ext.data.SimpleStore-addListener"></a>
264
            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
265
                        <div class="short">Appends an event handler to this component</div>
266
            <div class="long">
267
                Appends an event handler to this component    <div class="mdetail-params">
268
        <strong>Parameters:</strong>
269
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
270
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
271
properties. This may contain any of the following properties:<ul>
272
<li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
273
<li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
274
<li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
275
<li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
276
by the specified number of milliseconds. If the event fires again within that time, the original
277
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
278
</ul><br>
279
<p>
280
<b>Combining Options</b><br>
281
Using the options argument, it is possible to combine different types of listeners:<br>
282
<br>
283
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
284
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
285
    single: true,
286
    delay: 100,
287
    forumId: 4
288
});</code></pre>
289
<p>
290
<b>Attaching multiple handlers in 1 call</b><br>
291
The method also allows for a single argument to be passed which is a config object containing properties
292
which specify multiple handlers.
293
<p>
294
<pre><code>foo.on({
295
    <em>'click'</em> : {
296
        fn: <b>this</b>.onClick,
297
        scope: <b>this</b>,
298
        delay: 100
299
    },
300
    <em>'mouseover'</em> : {
301
        fn: <b>this</b>.onMouseOver,
302
        scope: <b>this</b>
303
    },
304
    <em>'mouseout'</em> : {
305
        fn: <b>this</b>.onMouseOut,
306
        scope: <b>this</b>
307
    }
308
});</code></pre>
309
<p>
310
Or a shorthand syntax:<br>
311
<pre><code>foo.on({
312
    <em>'click'</em> : <b>this</b>.onClick,
313
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
314
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
315
     scope: <b>this</b>
316
});</code></pre></div></li>        </ul>
317
        <strong>Returns:</strong>
318
        <ul>
319
            <li><code>void</code></li>
320
        </ul>
321
    </div>
322
                </div>
323
                        </div>
324
        </td>
325
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
326
    </tr>
327
        <tr class="method-row inherited expandable">
328
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
329
        <td class="sig">
330
        <a id="Ext.data.SimpleStore-addSorted"></a>
331
            <b>addSorted</b>(&nbsp;<code>Ext.data.Record record</code>&nbsp;) : void            <div class="mdesc">
332
                        <div class="short">(Local sort only) Inserts the passed the record in the Store at the index where it
333
should go based on the current sor...</div>
334
            <div class="long">
335
                (Local sort only) Inserts the passed the record in the Store at the index where it
336
should go based on the current sort information    <div class="mdetail-params">
337
        <strong>Parameters:</strong>
338
        <ul><li><code>record</code> : Ext.data.Record<div class="sub-desc"></div></li>        </ul>
339
        <strong>Returns:</strong>
340
        <ul>
341
            <li><code>void</code></li>
342
        </ul>
343
    </div>
344
                </div>
345
                        </div>
346
        </td>
347
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#addSorted" href="output/Ext.data.Store.html#addSorted">Store</a></td>
348
    </tr>
349
        <tr class="method-row inherited alt expandable">
350
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
351
        <td class="sig">
352
        <a id="Ext.data.SimpleStore-clearFilter"></a>
353
            <b>clearFilter</b>(&nbsp;<code>Boolean suppressEvent</code>&nbsp;) : void            <div class="mdesc">
354
                        <div class="short">Revert to a view of the Record cache with no filtering applied.</div>
355
            <div class="long">
356
                Revert to a view of the Record cache with no filtering applied.    <div class="mdetail-params">
357
        <strong>Parameters:</strong>
358
        <ul><li><code>suppressEvent</code> : Boolean<div class="sub-desc">If true the filter is cleared silently without notifying listeners</div></li>        </ul>
359
        <strong>Returns:</strong>
360
        <ul>
361
            <li><code>void</code></li>
362
        </ul>
363
    </div>
364
                </div>
365
                        </div>
366
        </td>
367
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#clearFilter" href="output/Ext.data.Store.html#clearFilter">Store</a></td>
368
    </tr>
369
        <tr class="method-row inherited expandable">
370
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
371
        <td class="sig">
372
        <a id="Ext.data.SimpleStore-collect"></a>
373
            <b>collect</b>(&nbsp;<code>String dataIndex</code>, <span class="optional" title="Optional">[<code>Boolean allowNull</code>]</span>, <span class="optional" title="Optional">[<code>Boolean bypassFilter</code>]</span>&nbsp;) : Array            <div class="mdesc">
374
                        <div class="short">Collects unique values for a particular dataIndex from this store.</div>
375
            <div class="long">
376
                Collects unique values for a particular dataIndex from this store.    <div class="mdetail-params">
377
        <strong>Parameters:</strong>
378
        <ul><li><code>dataIndex</code> : String<div class="sub-desc">The property to collect</div></li><li><code>allowNull</code> : Boolean<div class="sub-desc">(optional) Pass true to allow null, undefined or empty string values</div></li><li><code>bypassFilter</code> : Boolean<div class="sub-desc">(optional) Pass true to collect from all records, even ones which are filtered</div></li>        </ul>
379
        <strong>Returns:</strong>
380
        <ul>
381
            <li><code>Array</code><div class="sub-desc">An array of the unique values</div></li>
382
        </ul>
383
    </div>
384
                </div>
385
                        </div>
386
        </td>
387
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#collect" href="output/Ext.data.Store.html#collect">Store</a></td>
388
    </tr>
389
        <tr class="method-row inherited alt expandable">
390
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
391
        <td class="sig">
392
        <a id="Ext.data.SimpleStore-commitChanges"></a>
393
            <b>commitChanges</b>() : void            <div class="mdesc">
394
                        <div class="short">Commit all Records with outstanding changes. To handle updates for changes, subscribe to the
395
Store's "update" event, ...</div>
396
            <div class="long">
397
                Commit all Records with outstanding changes. To handle updates for changes, subscribe to the
398
Store's "update" event, and perform updating when the third parameter is Ext.data.Record.COMMIT.    <div class="mdetail-params">
399
        <strong>Parameters:</strong>
400
        <ul><li>None.</li>        </ul>
401
        <strong>Returns:</strong>
402
        <ul>
403
            <li><code>void</code></li>
404
        </ul>
405
    </div>
406
                </div>
407
                        </div>
408
        </td>
409
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#commitChanges" href="output/Ext.data.Store.html#commitChanges">Store</a></td>
410
    </tr>
411
        <tr class="method-row inherited expandable">
412
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
413
        <td class="sig">
414
        <a id="Ext.data.SimpleStore-each"></a>
415
            <b>each</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
416
                        <div class="short">Calls the specified function for each of the Records in the cache.</div>
417
            <div class="long">
418
                Calls the specified function for each of the Records in the cache.    <div class="mdetail-params">
419
        <strong>Parameters:</strong>
420
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call. The Record is passed as the first parameter.
421
Returning <tt>false</tt> aborts and exits the iteration.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to call the function (defaults to the Record).</div></li>        </ul>
422
        <strong>Returns:</strong>
423
        <ul>
424
            <li><code>void</code></li>
425
        </ul>
426
    </div>
427
                </div>
428
                        </div>
429
        </td>
430
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#each" href="output/Ext.data.Store.html#each">Store</a></td>
431
    </tr>
432
        <tr class="method-row inherited alt expandable">
433
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
434
        <td class="sig">
435
        <a id="Ext.data.SimpleStore-filter"></a>
436
            <b>filter</b>(&nbsp;<code>String field</code>, <code>String/RegExp value</code>, <span class="optional" title="Optional">[<code>Boolean anyMatch</code>]</span>, <span class="optional" title="Optional">[<code>Boolean caseSensitive</code>]</span>&nbsp;) : void            <div class="mdesc">
437
                        <div class="short">Filter the records by a specified property.</div>
438
            <div class="long">
439
                Filter the records by a specified property.    <div class="mdetail-params">
440
        <strong>Parameters:</strong>
441
        <ul><li><code>field</code> : String<div class="sub-desc">A field on your records</div></li><li><code>value</code> : String/RegExp<div class="sub-desc">Either a string that the field
442
should start with or a RegExp to test against the field</div></li><li><code>anyMatch</code> : Boolean<div class="sub-desc">(optional) True to match any part not just the beginning</div></li><li><code>caseSensitive</code> : Boolean<div class="sub-desc">(optional) True for case sensitive comparison</div></li>        </ul>
443
        <strong>Returns:</strong>
444
        <ul>
445
            <li><code>void</code></li>
446
        </ul>
447
    </div>
448
                </div>
449
                        </div>
450
        </td>
451
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#filter" href="output/Ext.data.Store.html#filter">Store</a></td>
452
    </tr>
453
        <tr class="method-row inherited expandable">
454
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
455
        <td class="sig">
456
        <a id="Ext.data.SimpleStore-filterBy"></a>
457
            <b>filterBy</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
458
                        <div class="short">Filter by a function. The specified function will be called for each
459
Record in this Store. If the function returns tr...</div>
460
            <div class="long">
461
                Filter by a function. The specified function will be called for each
462
Record in this Store. If the function returns <tt>true</tt> the Record is included,
463
otherwise it is filtered out.    <div class="mdetail-params">
464
        <strong>Parameters:</strong>
465
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to be called. It will be passed the following parameters:<ul>
466
<li><b>record</b> : Ext.data.Record<p class="sub-desc">The <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">record</a>
467
to test for filtering. Access field values using <a ext:cls="Ext.data.Record" ext:member="get" href="output/Ext.data.Record.html#get">Ext.data.Record.get</a>.</p></li>
468
<li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
469
</ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to this)</div></li>        </ul>
470
        <strong>Returns:</strong>
471
        <ul>
472
            <li><code>void</code></li>
473
        </ul>
474
    </div>
475
                </div>
476
                        </div>
477
        </td>
478
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#filterBy" href="output/Ext.data.Store.html#filterBy">Store</a></td>
479
    </tr>
480
        <tr class="method-row inherited alt expandable">
481
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
482
        <td class="sig">
483
        <a id="Ext.data.SimpleStore-find"></a>
484
            <b>find</b>(&nbsp;<code>String property</code>, <code>String/RegExp value</code>, <span class="optional" title="Optional">[<code>Number startIndex</code>]</span>, <span class="optional" title="Optional">[<code>Boolean anyMatch</code>]</span>, <span class="optional" title="Optional">[<code>Boolean caseSensitive</code>]</span>&nbsp;) : Number            <div class="mdesc">
485
                        <div class="short">Finds the index of the first matching record in this store by a specific property/value.</div>
486
            <div class="long">
487
                Finds the index of the first matching record in this store by a specific property/value.    <div class="mdetail-params">
488
        <strong>Parameters:</strong>
489
        <ul><li><code>property</code> : String<div class="sub-desc">A property on your objects</div></li><li><code>value</code> : String/RegExp<div class="sub-desc">Either string that the property values
490
should start with or a RegExp to test against the property.</div></li><li><code>startIndex</code> : Number<div class="sub-desc">(optional) The index to start searching at</div></li><li><code>anyMatch</code> : Boolean<div class="sub-desc">(optional) True to match any part of the string, not just the beginning</div></li><li><code>caseSensitive</code> : Boolean<div class="sub-desc">(optional) True for case sensitive comparison</div></li>        </ul>
491
        <strong>Returns:</strong>
492
        <ul>
493
            <li><code>Number</code><div class="sub-desc">The matched index or -1</div></li>
494
        </ul>
495
    </div>
496
                </div>
497
                        </div>
498
        </td>
499
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#find" href="output/Ext.data.Store.html#find">Store</a></td>
500
    </tr>
501
        <tr class="method-row inherited expandable">
502
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
503
        <td class="sig">
504
        <a id="Ext.data.SimpleStore-findBy"></a>
505
            <b>findBy</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Number startIndex</code>]</span>&nbsp;) : Number            <div class="mdesc">
506
                        <div class="short">Find the index of the first matching Record in this Store by a function.
507
If the function returns true it is considere...</div>
508
            <div class="long">
509
                Find the index of the first matching Record in this Store by a function.
510
If the function returns <tt>true</tt> it is considered a match.    <div class="mdetail-params">
511
        <strong>Parameters:</strong>
512
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to be called. It will be passed the following parameters:<ul>
513
<li><b>record</b> : Ext.data.Record<p class="sub-desc">The <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">record</a>
514
to test for filtering. Access field values using <a ext:cls="Ext.data.Record" ext:member="get" href="output/Ext.data.Record.html#get">Ext.data.Record.get</a>.</p></li>
515
<li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
516
</ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to this)</div></li><li><code>startIndex</code> : Number<div class="sub-desc">(optional) The index to start searching at</div></li>        </ul>
517
        <strong>Returns:</strong>
518
        <ul>
519
            <li><code>Number</code><div class="sub-desc">The matched index or -1</div></li>
520
        </ul>
521
    </div>
522
                </div>
523
                        </div>
524
        </td>
525
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#findBy" href="output/Ext.data.Store.html#findBy">Store</a></td>
526
    </tr>
527
        <tr class="method-row inherited alt expandable">
528
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
529
        <td class="sig">
530
        <a id="Ext.data.SimpleStore-fireEvent"></a>
531
            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
532
                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
533
            <div class="long">
534
                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
535
        <strong>Parameters:</strong>
536
        <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>
537
        <strong>Returns:</strong>
538
        <ul>
539
            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
540
        </ul>
541
    </div>
542
                </div>
543
                        </div>
544
        </td>
545
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
546
    </tr>
547
        <tr class="method-row inherited expandable">
548
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
549
        <td class="sig">
550
        <a id="Ext.data.SimpleStore-getAt"></a>
551
            <b>getAt</b>(&nbsp;<code>Number index</code>&nbsp;) : Ext.data.Record            <div class="mdesc">
552
                        <div class="short">Get the Record at the specified index.</div>
553
            <div class="long">
554
                Get the Record at the specified index.    <div class="mdetail-params">
555
        <strong>Parameters:</strong>
556
        <ul><li><code>index</code> : Number<div class="sub-desc">The index of the Record to find.</div></li>        </ul>
557
        <strong>Returns:</strong>
558
        <ul>
559
            <li><code>Ext.data.Record</code><div class="sub-desc">The Record at the passed index. Returns undefined if not found.</div></li>
560
        </ul>
561
    </div>
562
                </div>
563
                        </div>
564
        </td>
565
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getAt" href="output/Ext.data.Store.html#getAt">Store</a></td>
566
    </tr>
567
        <tr class="method-row inherited alt expandable">
568
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
569
        <td class="sig">
570
        <a id="Ext.data.SimpleStore-getById"></a>
571
            <b>getById</b>(&nbsp;<code>String id</code>&nbsp;) : Ext.data.Record            <div class="mdesc">
572
                        <div class="short">Get the Record with the specified id.</div>
573
            <div class="long">
574
                Get the Record with the specified id.    <div class="mdetail-params">
575
        <strong>Parameters:</strong>
576
        <ul><li><code>id</code> : String<div class="sub-desc">The id of the Record to find.</div></li>        </ul>
577
        <strong>Returns:</strong>
578
        <ul>
579
            <li><code>Ext.data.Record</code><div class="sub-desc">The Record with the passed id. Returns undefined if not found.</div></li>
580
        </ul>
581
    </div>
582
                </div>
583
                        </div>
584
        </td>
585
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getById" href="output/Ext.data.Store.html#getById">Store</a></td>
586
    </tr>
587
        <tr class="method-row inherited expandable">
588
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
589
        <td class="sig">
590
        <a id="Ext.data.SimpleStore-getCount"></a>
591
            <b>getCount</b>() : Number            <div class="mdesc">
592
                        <div class="short">Gets the number of cached records.
593
If using paging, this may not be the total size of the dataset. If the data object...</div>
594
            <div class="long">
595
                Gets the number of cached records.
596
<p>If using paging, this may not be the total size of the dataset. If the data object
597
used by the Reader contains the dataset size, then the <a ext:cls="Ext.data.Store" ext:member="getTotalCount" href="output/Ext.data.Store.html#getTotalCount">getTotalCount</a> function returns
598
the dataset size.</p>    <div class="mdetail-params">
599
        <strong>Parameters:</strong>
600
        <ul><li>None.</li>        </ul>
601
        <strong>Returns:</strong>
602
        <ul>
603
            <li><code>Number</code><div class="sub-desc">The number of Records in the Store's cache.</div></li>
604
        </ul>
605
    </div>
606
                </div>
607
                        </div>
608
        </td>
609
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getCount" href="output/Ext.data.Store.html#getCount">Store</a></td>
610
    </tr>
611
        <tr class="method-row inherited alt expandable">
612
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
613
        <td class="sig">
614
        <a id="Ext.data.SimpleStore-getModifiedRecords"></a>
615
            <b>getModifiedRecords</b>() : Ext.data.Record[]            <div class="mdesc">
616
                        <div class="short">Gets all records modified since the last commit.  Modified records are persisted across load operations
617
(e.g., during...</div>
618
            <div class="long">
619
                Gets all records modified since the last commit.  Modified records are persisted across load operations
620
(e.g., during paging).    <div class="mdetail-params">
621
        <strong>Parameters:</strong>
622
        <ul><li>None.</li>        </ul>
623
        <strong>Returns:</strong>
624
        <ul>
625
            <li><code>Ext.data.Record[]</code><div class="sub-desc">An array of Records containing outstanding modifications.</div></li>
626
        </ul>
627
    </div>
628
                </div>
629
                        </div>
630
        </td>
631
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getModifiedRecords" href="output/Ext.data.Store.html#getModifiedRecords">Store</a></td>
632
    </tr>
633
        <tr class="method-row inherited expandable">
634
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
635
        <td class="sig">
636
        <a id="Ext.data.SimpleStore-getRange"></a>
637
            <b>getRange</b>(&nbsp;<span class="optional" title="Optional">[<code>Number startIndex</code>]</span>, <span class="optional" title="Optional">[<code>Number endIndex</code>]</span>&nbsp;) : Ext.data.Record[]            <div class="mdesc">
638
                        <div class="short">Returns a range of Records between specified indices.</div>
639
            <div class="long">
640
                Returns a range of Records between specified indices.    <div class="mdetail-params">
641
        <strong>Parameters:</strong>
642
        <ul><li><code>startIndex</code> : Number<div class="sub-desc">(optional) The starting index (defaults to 0)</div></li><li><code>endIndex</code> : Number<div class="sub-desc">(optional) The ending index (defaults to the last Record in the Store)</div></li>        </ul>
643
        <strong>Returns:</strong>
644
        <ul>
645
            <li><code>Ext.data.Record[]</code><div class="sub-desc">An array of Records</div></li>
646
        </ul>
647
    </div>
648
                </div>
649
                        </div>
650
        </td>
651
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getRange" href="output/Ext.data.Store.html#getRange">Store</a></td>
652
    </tr>
653
        <tr class="method-row inherited alt expandable">
654
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
655
        <td class="sig">
656
        <a id="Ext.data.SimpleStore-getSortState"></a>
657
            <b>getSortState</b>() : Object            <div class="mdesc">
658
                        <div class="short">Returns an object describing the current sort state of this Store.</div>
659
            <div class="long">
660
                Returns an object describing the current sort state of this Store.    <div class="mdetail-params">
661
        <strong>Parameters:</strong>
662
        <ul><li>None.</li>        </ul>
663
        <strong>Returns:</strong>
664
        <ul>
665
            <li><code>Object</code><div class="sub-desc">The sort state of the Store. An object with two properties:<ul> <li><b>field : String<p class="sub-desc">The name of the field by which the Records are sorted.</p></li> <li><b>direction : String<p class="sub-desc">The sort order, "ASC" or "DESC" (case-sensitive).</p></li> </ul></div></li>
666
        </ul>
667
    </div>
668
                </div>
669
                        </div>
670
        </td>
671
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getSortState" href="output/Ext.data.Store.html#getSortState">Store</a></td>
672
    </tr>
673
        <tr class="method-row inherited expandable">
674
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
675
        <td class="sig">
676
        <a id="Ext.data.SimpleStore-getTotalCount"></a>
677
            <b>getTotalCount</b>() : Number            <div class="mdesc">
678
                        <div class="short">Gets the total number of records in the dataset as returned by the server.
679
If using paging, for this to be accurate, ...</div>
680
            <div class="long">
681
                Gets the total number of records in the dataset as returned by the server.
682
<p>If using paging, for this to be accurate, the data object used by the Reader must contain
683
the dataset size. For remote data sources, this is provided by a query on the server.</p>    <div class="mdetail-params">
684
        <strong>Parameters:</strong>
685
        <ul><li>None.</li>        </ul>
686
        <strong>Returns:</strong>
687
        <ul>
688
            <li><code>Number</code><div class="sub-desc">The number of Records as specified in the data object passed to the Reader by the Proxy <p><b>This value is not updated when changing the contents of the Store locally.</b></p></div></li>
689
        </ul>
690
    </div>
691
                </div>
692
                        </div>
693
        </td>
694
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#getTotalCount" href="output/Ext.data.Store.html#getTotalCount">Store</a></td>
695
    </tr>
696
        <tr class="method-row inherited alt expandable">
697
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
698
        <td class="sig">
699
        <a id="Ext.data.SimpleStore-hasListener"></a>
700
            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
701
                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
702
            <div class="long">
703
                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
704
        <strong>Parameters:</strong>
705
        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
706
        <strong>Returns:</strong>
707
        <ul>
708
            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
709
        </ul>
710
    </div>
711
                </div>
712
                        </div>
713
        </td>
714
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
715
    </tr>
716
        <tr class="method-row inherited expandable">
717
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
718
        <td class="sig">
719
        <a id="Ext.data.SimpleStore-indexOf"></a>
720
            <b>indexOf</b>(&nbsp;<code>Ext.data.Record record</code>&nbsp;) : Number            <div class="mdesc">
721
                        <div class="short">Get the index within the cache of the passed Record.</div>
722
            <div class="long">
723
                Get the index within the cache of the passed Record.    <div class="mdetail-params">
724
        <strong>Parameters:</strong>
725
        <ul><li><code>record</code> : Ext.data.Record<div class="sub-desc">The Ext.data.Record object to to find.</div></li>        </ul>
726
        <strong>Returns:</strong>
727
        <ul>
728
            <li><code>Number</code><div class="sub-desc">The index of the passed Record. Returns -1 if not found.</div></li>
729
        </ul>
730
    </div>
731
                </div>
732
                        </div>
733
        </td>
734
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#indexOf" href="output/Ext.data.Store.html#indexOf">Store</a></td>
735
    </tr>
736
        <tr class="method-row inherited alt expandable">
737
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
738
        <td class="sig">
739
        <a id="Ext.data.SimpleStore-indexOfId"></a>
740
            <b>indexOfId</b>(&nbsp;<code>String id</code>&nbsp;) : Number            <div class="mdesc">
741
                        <div class="short">Get the index within the cache of the Record with the passed id.</div>
742
            <div class="long">
743
                Get the index within the cache of the Record with the passed id.    <div class="mdetail-params">
744
        <strong>Parameters:</strong>
745
        <ul><li><code>id</code> : String<div class="sub-desc">The id of the Record to find.</div></li>        </ul>
746
        <strong>Returns:</strong>
747
        <ul>
748
            <li><code>Number</code><div class="sub-desc">The index of the Record. Returns -1 if not found.</div></li>
749
        </ul>
750
    </div>
751
                </div>
752
                        </div>
753
        </td>
754
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#indexOfId" href="output/Ext.data.Store.html#indexOfId">Store</a></td>
755
    </tr>
756
        <tr class="method-row inherited expandable">
757
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
758
        <td class="sig">
759
        <a id="Ext.data.SimpleStore-insert"></a>
760
            <b>insert</b>(&nbsp;<code>Number index</code>, <code>Ext.data.Record[] records</code>&nbsp;) : void            <div class="mdesc">
761
                        <div class="short">Inserts Records to the Store at the given index and fires the add event.</div>
762
            <div class="long">
763
                Inserts Records to the Store at the given index and fires the add event.    <div class="mdetail-params">
764
        <strong>Parameters:</strong>
765
        <ul><li><code>index</code> : Number<div class="sub-desc">The start index at which to insert the passed Records.</div></li><li><code>records</code> : Ext.data.Record[]<div class="sub-desc">An Array of Ext.data.Record objects to add to the cache.</div></li>        </ul>
766
        <strong>Returns:</strong>
767
        <ul>
768
            <li><code>void</code></li>
769
        </ul>
770
    </div>
771
                </div>
772
                        </div>
773
        </td>
774
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#insert" href="output/Ext.data.Store.html#insert">Store</a></td>
775
    </tr>
776
        <tr class="method-row inherited alt expandable">
777
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
778
        <td class="sig">
779
        <a id="Ext.data.SimpleStore-isFiltered"></a>
780
            <b>isFiltered</b>() : Boolean            <div class="mdesc">
781
                        <div class="short">Returns true if this store is currently filtered</div>
782
            <div class="long">
783
                Returns true if this store is currently filtered    <div class="mdetail-params">
784
        <strong>Parameters:</strong>
785
        <ul><li>None.</li>        </ul>
786
        <strong>Returns:</strong>
787
        <ul>
788
            <li><code>Boolean</code></li>
789
        </ul>
790
    </div>
791
                </div>
792
                        </div>
793
        </td>
794
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#isFiltered" href="output/Ext.data.Store.html#isFiltered">Store</a></td>
795
    </tr>
796
        <tr class="method-row inherited expandable">
797
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
798
        <td class="sig">
799
        <a id="Ext.data.SimpleStore-load"></a>
800
            <b>load</b>(&nbsp;<code>Object options</code>&nbsp;) : Boolean            <div class="mdesc">
801
                        <div class="short">Loads the Record cache from the configured Proxy using the configured Reader.
802
If using remote paging, then the first ...</div>
803
            <div class="long">
804
                Loads the Record cache from the configured Proxy using the configured Reader.
805
<p>If using remote paging, then the first load call must specify the <tt>start</tt>
806
and <tt>limit</tt> properties in the options.params property to establish the initial
807
position within the dataset, and the number of Records to cache on each read from the Proxy.</p>
808
<p><b>It is important to note that for remote data sources, loading is asynchronous,
809
and this call will return before the new data has been loaded. Perform any post-processing
810
in a callback function, or in a "load" event handler.</b></p>    <div class="mdetail-params">
811
        <strong>Parameters:</strong>
812
        <ul><li><code>options</code> : Object<div class="sub-desc">An object containing properties which control loading options:<ul>
813
<li><b>params</b> :Object<p class="sub-desc">An object containing properties to pass as HTTP parameters to a remote data source.</p></li>
814
<li><b>callback</b> : Function<p class="sub-desc">A function to be called after the Records have been loaded. The callback is
815
passed the following arguments:<ul>
816
<li>r : Ext.data.Record[]</li>
817
<li>options: Options object from the load call</li>
818
<li>success: Boolean success indicator</li></ul></p></li>
819
<li><b>scope</b> : Object<p class="sub-desc">Scope with which to call the callback (defaults to the Store object)</p></li>
820
<li><b>add</b> : Boolean<p class="sub-desc">Indicator to append loaded records rather than replace the current cache.</p></li>
821
</ul></div></li>        </ul>
822
        <strong>Returns:</strong>
823
        <ul>
824
            <li><code>Boolean</code><div class="sub-desc">Whether the load fired (if beforeload failed).</div></li>
825
        </ul>
826
    </div>
827
                </div>
828
                        </div>
829
        </td>
830
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#load" href="output/Ext.data.Store.html#load">Store</a></td>
831
    </tr>
832
        <tr class="method-row inherited alt expandable">
833
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
834
        <td class="sig">
835
        <a id="Ext.data.SimpleStore-loadData"></a>
836
            <b>loadData</b>(&nbsp;<code>Object data</code>, <span class="optional" title="Optional">[<code>Boolean append</code>]</span>&nbsp;) : void            <div class="mdesc">
837
                        <div class="short">Loads data from a passed data block. A Reader which understands the format of the data
838
must have been configured in t...</div>
839
            <div class="long">
840
                Loads data from a passed data block. A Reader which understands the format of the data
841
must have been configured in the constructor.    <div class="mdetail-params">
842
        <strong>Parameters:</strong>
843
        <ul><li><code>data</code> : Object<div class="sub-desc">The data block from which to read the Records. The format of the data expected
844
is dependent on the type of Reader that is configured and should correspond to that Reader's readRecords parameter.</div></li><li><code>append</code> : Boolean<div class="sub-desc">(Optional) True to append the new Records rather than replace the existing cache.</div></li>        </ul>
845
        <strong>Returns:</strong>
846
        <ul>
847
            <li><code>void</code></li>
848
        </ul>
849
    </div>
850
                </div>
851
                        </div>
852
        </td>
853
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#loadData" href="output/Ext.data.Store.html#loadData">Store</a></td>
854
    </tr>
855
        <tr class="method-row inherited expandable">
856
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
857
        <td class="sig">
858
        <a id="Ext.data.SimpleStore-on"></a>
859
            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
860
                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
861
            <div class="long">
862
                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
863
        <strong>Parameters:</strong>
864
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
865
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
866
        <strong>Returns:</strong>
867
        <ul>
868
            <li><code>void</code></li>
869
        </ul>
870
    </div>
871
                </div>
872
                        </div>
873
        </td>
874
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
875
    </tr>
876
        <tr class="method-row inherited alt expandable">
877
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
878
        <td class="sig">
879
        <a id="Ext.data.SimpleStore-purgeListeners"></a>
880
            <b>purgeListeners</b>() : void            <div class="mdesc">
881
                        <div class="short">Removes all listeners for this object</div>
882
            <div class="long">
883
                Removes all listeners for this object    <div class="mdetail-params">
884
        <strong>Parameters:</strong>
885
        <ul><li>None.</li>        </ul>
886
        <strong>Returns:</strong>
887
        <ul>
888
            <li><code>void</code></li>
889
        </ul>
890
    </div>
891
                </div>
892
                        </div>
893
        </td>
894
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
895
    </tr>
896
        <tr class="method-row inherited expandable">
897
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
898
        <td class="sig">
899
        <a id="Ext.data.SimpleStore-query"></a>
900
            <b>query</b>(&nbsp;<code>String field</code>, <code>String/RegExp value</code>, <span class="optional" title="Optional">[<code>Boolean anyMatch</code>]</span>, <span class="optional" title="Optional">[<code>Boolean caseSensitive</code>]</span>&nbsp;) : MixedCollection            <div class="mdesc">
901
                        <div class="short">Query the records by a specified property.</div>
902
            <div class="long">
903
                Query the records by a specified property.    <div class="mdetail-params">
904
        <strong>Parameters:</strong>
905
        <ul><li><code>field</code> : String<div class="sub-desc">A field on your records</div></li><li><code>value</code> : String/RegExp<div class="sub-desc">Either a string that the field
906
should start with or a RegExp to test against the field</div></li><li><code>anyMatch</code> : Boolean<div class="sub-desc">(optional) True to match any part not just the beginning</div></li><li><code>caseSensitive</code> : Boolean<div class="sub-desc">(optional) True for case sensitive comparison</div></li>        </ul>
907
        <strong>Returns:</strong>
908
        <ul>
909
            <li><code>MixedCollection</code><div class="sub-desc">Returns an Ext.util.MixedCollection of the matched records</div></li>
910
        </ul>
911
    </div>
912
                </div>
913
                        </div>
914
        </td>
915
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#query" href="output/Ext.data.Store.html#query">Store</a></td>
916
    </tr>
917
        <tr class="method-row inherited alt expandable">
918
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
919
        <td class="sig">
920
        <a id="Ext.data.SimpleStore-queryBy"></a>
921
            <b>queryBy</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : MixedCollection            <div class="mdesc">
922
                        <div class="short">Query the cached records in this Store using a filtering function. The specified function
923
will be called with each re...</div>
924
            <div class="long">
925
                Query the cached records in this Store using a filtering function. The specified function
926
will be called with each record in this Store. If the function returns <tt>true</tt> the record is
927
included in the results.    <div class="mdetail-params">
928
        <strong>Parameters:</strong>
929
        <ul><li><code>fn</code> : Function<div class="sub-desc">The function to be called. It will be passed the following parameters:<ul>
930
<li><b>record</b> : Ext.data.Record<p class="sub-desc">The <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">record</a>
931
to test for filtering. Access field values using <a ext:cls="Ext.data.Record" ext:member="get" href="output/Ext.data.Record.html#get">Ext.data.Record.get</a>.</p></li>
932
<li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
933
</ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to this)</div></li>        </ul>
934
        <strong>Returns:</strong>
935
        <ul>
936
            <li><code>MixedCollection</code><div class="sub-desc">Returns an Ext.util.MixedCollection of the matched records</div></li>
937
        </ul>
938
    </div>
939
                </div>
940
                        </div>
941
        </td>
942
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#queryBy" href="output/Ext.data.Store.html#queryBy">Store</a></td>
943
    </tr>
944
        <tr class="method-row inherited expandable">
945
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
946
        <td class="sig">
947
        <a id="Ext.data.SimpleStore-rejectChanges"></a>
948
            <b>rejectChanges</b>() : void            <div class="mdesc">
949
                        <div class="short">Cancel outstanding changes on all changed records.</div>
950
            <div class="long">
951
                Cancel outstanding changes on all changed records.    <div class="mdetail-params">
952
        <strong>Parameters:</strong>
953
        <ul><li>None.</li>        </ul>
954
        <strong>Returns:</strong>
955
        <ul>
956
            <li><code>void</code></li>
957
        </ul>
958
    </div>
959
                </div>
960
                        </div>
961
        </td>
962
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#rejectChanges" href="output/Ext.data.Store.html#rejectChanges">Store</a></td>
963
    </tr>
964
        <tr class="method-row inherited alt expandable">
965
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
966
        <td class="sig">
967
        <a id="Ext.data.SimpleStore-reload"></a>
968
            <b>reload</b>(&nbsp;<span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
969
                        <div class="short">Reloads the Record cache from the configured Proxy using the configured Reader and
970
the options from the last load ope...</div>
971
            <div class="long">
972
                Reloads the Record cache from the configured Proxy using the configured Reader and
973
the options from the last load operation performed.    <div class="mdetail-params">
974
        <strong>Parameters:</strong>
975
        <ul><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing properties which may override the options
976
used in the last load operation. See <a ext:cls="Ext.data.Store" ext:member="load" href="output/Ext.data.Store.html#load">load</a> for details (defaults to null, in which case
977
the most recently used options are reused).</div></li>        </ul>
978
        <strong>Returns:</strong>
979
        <ul>
980
            <li><code>void</code></li>
981
        </ul>
982
    </div>
983
                </div>
984
                        </div>
985
        </td>
986
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#reload" href="output/Ext.data.Store.html#reload">Store</a></td>
987
    </tr>
988
        <tr class="method-row inherited expandable">
989
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
990
        <td class="sig">
991
        <a id="Ext.data.SimpleStore-remove"></a>
992
            <b>remove</b>(&nbsp;<code>Ext.data.Record record</code>&nbsp;) : void            <div class="mdesc">
993
                        <div class="short">Remove a Record from the Store and fires the remove event.</div>
994
            <div class="long">
995
                Remove a Record from the Store and fires the remove event.    <div class="mdetail-params">
996
        <strong>Parameters:</strong>
997
        <ul><li><code>record</code> : Ext.data.Record<div class="sub-desc">Th Ext.data.Record object to remove from the cache.</div></li>        </ul>
998
        <strong>Returns:</strong>
999
        <ul>
1000
            <li><code>void</code></li>
1001
        </ul>
1002
    </div>
1003
                </div>
1004
                        </div>
1005
        </td>
1006
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#remove" href="output/Ext.data.Store.html#remove">Store</a></td>
1007
    </tr>
1008
        <tr class="method-row inherited alt expandable">
1009
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1010
        <td class="sig">
1011
        <a id="Ext.data.SimpleStore-removeAll"></a>
1012
            <b>removeAll</b>() : void            <div class="mdesc">
1013
                        <div class="short">Remove all Records from the Store and fires the clear event.</div>
1014
            <div class="long">
1015
                Remove all Records from the Store and fires the clear event.    <div class="mdetail-params">
1016
        <strong>Parameters:</strong>
1017
        <ul><li>None.</li>        </ul>
1018
        <strong>Returns:</strong>
1019
        <ul>
1020
            <li><code>void</code></li>
1021
        </ul>
1022
    </div>
1023
                </div>
1024
                        </div>
1025
        </td>
1026
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#removeAll" href="output/Ext.data.Store.html#removeAll">Store</a></td>
1027
    </tr>
1028
        <tr class="method-row inherited expandable">
1029
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1030
        <td class="sig">
1031
        <a id="Ext.data.SimpleStore-removeListener"></a>
1032
            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1033
                        <div class="short">Removes a listener</div>
1034
            <div class="long">
1035
                Removes a listener    <div class="mdetail-params">
1036
        <strong>Parameters:</strong>
1037
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1038
        <strong>Returns:</strong>
1039
        <ul>
1040
            <li><code>void</code></li>
1041
        </ul>
1042
    </div>
1043
                </div>
1044
                        </div>
1045
        </td>
1046
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1047
    </tr>
1048
        <tr class="method-row inherited alt expandable">
1049
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1050
        <td class="sig">
1051
        <a id="Ext.data.SimpleStore-resumeEvents"></a>
1052
            <b>resumeEvents</b>() : void            <div class="mdesc">
1053
                        <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
1054
            <div class="long">
1055
                Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">
1056
        <strong>Parameters:</strong>
1057
        <ul><li>None.</li>        </ul>
1058
        <strong>Returns:</strong>
1059
        <ul>
1060
            <li><code>void</code></li>
1061
        </ul>
1062
    </div>
1063
                </div>
1064
                        </div>
1065
        </td>
1066
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1067
    </tr>
1068
        <tr class="method-row inherited expandable">
1069
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1070
        <td class="sig">
1071
        <a id="Ext.data.SimpleStore-setDefaultSort"></a>
1072
            <b>setDefaultSort</b>(&nbsp;<code>String fieldName</code>, <span class="optional" title="Optional">[<code>String dir</code>]</span>&nbsp;) : void            <div class="mdesc">
1073
                        <div class="short">Sets the default sort column and order to be used by the next load operation.</div>
1074
            <div class="long">
1075
                Sets the default sort column and order to be used by the next load operation.    <div class="mdetail-params">
1076
        <strong>Parameters:</strong>
1077
        <ul><li><code>fieldName</code> : String<div class="sub-desc">The name of the field to sort by.</div></li><li><code>dir</code> : String<div class="sub-desc">(optional) The sort order, "ASC" or "DESC" (case-sensitive, defaults to "ASC")</div></li>        </ul>
1078
        <strong>Returns:</strong>
1079
        <ul>
1080
            <li><code>void</code></li>
1081
        </ul>
1082
    </div>
1083
                </div>
1084
                        </div>
1085
        </td>
1086
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#setDefaultSort" href="output/Ext.data.Store.html#setDefaultSort">Store</a></td>
1087
    </tr>
1088
        <tr class="method-row inherited alt expandable">
1089
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1090
        <td class="sig">
1091
        <a id="Ext.data.SimpleStore-sort"></a>
1092
            <b>sort</b>(&nbsp;<code>String fieldName</code>, <span class="optional" title="Optional">[<code>String dir</code>]</span>&nbsp;) : void            <div class="mdesc">
1093
                        <div class="short">Sort the Records.
1094
If remote sorting is used, the sort is performed on the server, and the cache is
1095
reloaded. If local...</div>
1096
            <div class="long">
1097
                Sort the Records.
1098
If remote sorting is used, the sort is performed on the server, and the cache is
1099
reloaded. If local sorting is used, the cache is sorted internally.    <div class="mdetail-params">
1100
        <strong>Parameters:</strong>
1101
        <ul><li><code>fieldName</code> : String<div class="sub-desc">The name of the field to sort by.</div></li><li><code>dir</code> : String<div class="sub-desc">(optional) The sort order, "ASC" or "DESC" (case-sensitive, defaults to "ASC")</div></li>        </ul>
1102
        <strong>Returns:</strong>
1103
        <ul>
1104
            <li><code>void</code></li>
1105
        </ul>
1106
    </div>
1107
                </div>
1108
                        </div>
1109
        </td>
1110
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#sort" href="output/Ext.data.Store.html#sort">Store</a></td>
1111
    </tr>
1112
        <tr class="method-row inherited expandable">
1113
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1114
        <td class="sig">
1115
        <a id="Ext.data.SimpleStore-sum"></a>
1116
            <b>sum</b>(&nbsp;<code>String property</code>, <code>Number start</code>, <code>Number end</code>&nbsp;) : Number            <div class="mdesc">
1117
                        <div class="short">Sums the value of <i>property</i> for each record between start and end and returns the result.</div>
1118
            <div class="long">
1119
                Sums the value of <i>property</i> for each record between start and end and returns the result.    <div class="mdetail-params">
1120
        <strong>Parameters:</strong>
1121
        <ul><li><code>property</code> : String<div class="sub-desc">A field on your records</div></li><li><code>start</code> : Number<div class="sub-desc">The record index to start at (defaults to 0)</div></li><li><code>end</code> : Number<div class="sub-desc">The last record index to include (defaults to length - 1)</div></li>        </ul>
1122
        <strong>Returns:</strong>
1123
        <ul>
1124
            <li><code>Number</code><div class="sub-desc">The sum</div></li>
1125
        </ul>
1126
    </div>
1127
                </div>
1128
                        </div>
1129
        </td>
1130
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#sum" href="output/Ext.data.Store.html#sum">Store</a></td>
1131
    </tr>
1132
        <tr class="method-row inherited alt expandable">
1133
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1134
        <td class="sig">
1135
        <a id="Ext.data.SimpleStore-suspendEvents"></a>
1136
            <b>suspendEvents</b>() : void            <div class="mdesc">
1137
                        <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
1138
            <div class="long">
1139
                Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">
1140
        <strong>Parameters:</strong>
1141
        <ul><li>None.</li>        </ul>
1142
        <strong>Returns:</strong>
1143
        <ul>
1144
            <li><code>void</code></li>
1145
        </ul>
1146
    </div>
1147
                </div>
1148
                        </div>
1149
        </td>
1150
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1151
    </tr>
1152
        <tr class="method-row inherited expandable">
1153
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1154
        <td class="sig">
1155
        <a id="Ext.data.SimpleStore-un"></a>
1156
            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1157
                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1158
            <div class="long">
1159
                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1160
        <strong>Parameters:</strong>
1161
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1162
        <strong>Returns:</strong>
1163
        <ul>
1164
            <li><code>void</code></li>
1165
        </ul>
1166
    </div>
1167
                </div>
1168
                        </div>
1169
        </td>
1170
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1171
    </tr>
1172
            </table>
1173
                <a id="Ext.data.SimpleStore-events"></a>
1174
        <h2>Public Events</h2>
1175
                <table cellspacing="0" class="member-table">
1176
            <tr>
1177
                <th class="sig-header" colspan="2">Event</th>
1178
                <th class="msource-header">Defined By</th>
1179
            </tr>
1180
                <tr class="event-row inherited expandable">
1181
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1182
        <td class="sig">
1183
        <a id="Ext.data.SimpleStore-add"></a>
1184
            <b>add</b> : (&nbsp;<code>Store this</code>, <code>Ext.data.Record[] records</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">
1185
                        <div class="short">Fires when Records have been added to the Store</div>
1186
            <div class="long">
1187
                Fires when Records have been added to the Store    <div class="mdetail-params">
1188
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1189
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>records</code> : Ext.data.Record[]<div class="sub-desc">The array of Records added</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the record(s) were added</div></li>        </ul>
1190
    </div>
1191
                </div>
1192
                        </div>
1193
        </td>
1194
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-add" href="output/Ext.data.Store.html#event-add">Store</a></td>
1195
    </tr>
1196
        <tr class="event-row inherited alt expandable">
1197
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1198
        <td class="sig">
1199
        <a id="Ext.data.SimpleStore-beforeload"></a>
1200
            <b>beforeload</b> : (&nbsp;<code>Store this</code>, <code>Object options</code>&nbsp;)            <div class="mdesc">
1201
                        <div class="short">Fires before a request is made for a new data object.  If the beforeload handler returns false
1202
the load action will b...</div>
1203
            <div class="long">
1204
                Fires before a request is made for a new data object.  If the beforeload handler returns false
1205
the load action will be canceled.    <div class="mdetail-params">
1206
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1207
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>options</code> : Object<div class="sub-desc">The loading options that were specified (see <a ext:cls="Ext.data.Store" ext:member="load" href="output/Ext.data.Store.html#load">load</a> for details)</div></li>        </ul>
1208
    </div>
1209
                </div>
1210
                        </div>
1211
        </td>
1212
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-beforeload" href="output/Ext.data.Store.html#event-beforeload">Store</a></td>
1213
    </tr>
1214
        <tr class="event-row inherited expandable">
1215
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1216
        <td class="sig">
1217
        <a id="Ext.data.SimpleStore-clear"></a>
1218
            <b>clear</b> : (&nbsp;<code>Store this</code>&nbsp;)            <div class="mdesc">
1219
                        <div class="short">Fires when the data cache has been cleared.</div>
1220
            <div class="long">
1221
                Fires when the data cache has been cleared.    <div class="mdetail-params">
1222
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1223
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li>        </ul>
1224
    </div>
1225
                </div>
1226
                        </div>
1227
        </td>
1228
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-clear" href="output/Ext.data.Store.html#event-clear">Store</a></td>
1229
    </tr>
1230
        <tr class="event-row inherited alt expandable">
1231
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1232
        <td class="sig">
1233
        <a id="Ext.data.SimpleStore-datachanged"></a>
1234
            <b>datachanged</b> : (&nbsp;<code>Store this</code>&nbsp;)            <div class="mdesc">
1235
                        <div class="short">Fires when the data cache has changed, and a widget which is using this Store
1236
as a Record cache should refresh its view.</div>
1237
            <div class="long">
1238
                Fires when the data cache has changed, and a widget which is using this Store
1239
as a Record cache should refresh its view.    <div class="mdetail-params">
1240
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1241
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li>        </ul>
1242
    </div>
1243
                </div>
1244
                        </div>
1245
        </td>
1246
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-datachanged" href="output/Ext.data.Store.html#event-datachanged">Store</a></td>
1247
    </tr>
1248
        <tr class="event-row inherited expandable">
1249
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1250
        <td class="sig">
1251
        <a id="Ext.data.SimpleStore-load"></a>
1252
            <b>load</b> : (&nbsp;<code>Store this</code>, <code>Ext.data.Record[] records</code>, <code>Object options</code>&nbsp;)            <div class="mdesc">
1253
                        <div class="short">Fires after a new set of Records has been loaded.</div>
1254
            <div class="long">
1255
                Fires after a new set of Records has been loaded.    <div class="mdetail-params">
1256
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1257
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>records</code> : Ext.data.Record[]<div class="sub-desc">The Records that were loaded</div></li><li><code>options</code> : Object<div class="sub-desc">The loading options that were specified (see <a ext:cls="Ext.data.Store" ext:member="load" href="output/Ext.data.Store.html#load">load</a> for details)</div></li>        </ul>
1258
    </div>
1259
                </div>
1260
                        </div>
1261
        </td>
1262
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-load" href="output/Ext.data.Store.html#event-load">Store</a></td>
1263
    </tr>
1264
        <tr class="event-row inherited alt expandable">
1265
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1266
        <td class="sig">
1267
        <a id="Ext.data.SimpleStore-loadexception"></a>
1268
            <b>loadexception</b> : ()            <div class="mdesc">
1269
                        <div class="short">Fires if an exception occurs in the Proxy during loading.
1270
Called with the signature of the Proxy's "loadexception" ev...</div>
1271
            <div class="long">
1272
                Fires if an exception occurs in the Proxy during loading.
1273
Called with the signature of the Proxy's "loadexception" event.    <div class="mdetail-params">
1274
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1275
        <ul><li>None.</li>        </ul>
1276
    </div>
1277
                </div>
1278
                        </div>
1279
        </td>
1280
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-loadexception" href="output/Ext.data.Store.html#event-loadexception">Store</a></td>
1281
    </tr>
1282
        <tr class="event-row inherited expandable">
1283
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1284
        <td class="sig">
1285
        <a id="Ext.data.SimpleStore-metachange"></a>
1286
            <b>metachange</b> : (&nbsp;<code>Store this</code>, <code>Object meta</code>&nbsp;)            <div class="mdesc">
1287
                        <div class="short">Fires when this store's reader provides new metadata (fields). This is currently only supported for JsonReaders.</div>
1288
            <div class="long">
1289
                Fires when this store's reader provides new metadata (fields). This is currently only supported for JsonReaders.    <div class="mdetail-params">
1290
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1291
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>meta</code> : Object<div class="sub-desc">The JSON metadata</div></li>        </ul>
1292
    </div>
1293
                </div>
1294
                        </div>
1295
        </td>
1296
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-metachange" href="output/Ext.data.Store.html#event-metachange">Store</a></td>
1297
    </tr>
1298
        <tr class="event-row inherited alt expandable">
1299
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1300
        <td class="sig">
1301
        <a id="Ext.data.SimpleStore-remove"></a>
1302
            <b>remove</b> : (&nbsp;<code>Store this</code>, <code>Ext.data.Record record</code>, <code>Number index</code>&nbsp;)            <div class="mdesc">
1303
                        <div class="short">Fires when a Record has been removed from the Store</div>
1304
            <div class="long">
1305
                Fires when a Record has been removed from the Store    <div class="mdetail-params">
1306
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1307
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The Record that was removed</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the record was removed</div></li>        </ul>
1308
    </div>
1309
                </div>
1310
                        </div>
1311
        </td>
1312
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-remove" href="output/Ext.data.Store.html#event-remove">Store</a></td>
1313
    </tr>
1314
        <tr class="event-row inherited expandable">
1315
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1316
        <td class="sig">
1317
        <a id="Ext.data.SimpleStore-update"></a>
1318
            <b>update</b> : (&nbsp;<code>Store this</code>, <code>Ext.data.Record record</code>, <code>String operation</code>&nbsp;)            <div class="mdesc">
1319
                        <div class="short">Fires when a Record has been updated</div>
1320
            <div class="long">
1321
                Fires when a Record has been updated    <div class="mdetail-params">
1322
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1323
        <ul><li><code>this</code> : Store<div class="sub-desc"></div></li><li><code>record</code> : Ext.data.Record<div class="sub-desc">The Record that was updated</div></li><li><code>operation</code> : String<div class="sub-desc">The update operation being performed. Value may be one of:
1324
<pre><code>Ext.data.Record.EDIT
1325
 Ext.data.Record.REJECT
1326
 Ext.data.Record.COMMIT</code></pre></div></li>        </ul>
1327
    </div>
1328
                </div>
1329
                        </div>
1330
        </td>
1331
        <td class="msource"><a ext:cls="Ext.data.Store" ext:member="#event-update" href="output/Ext.data.Store.html#event-update">Store</a></td>
1332
    </tr>
1333
            </table>
1334
 
1335
        </div>