X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.data.Store.html diff --git a/docs/output/Ext.data.Store.html b/docs/output/Ext.data.Store.html index bf05fa4e..c2a4cd02 100644 --- a/docs/output/Ext.data.Store.html +++ b/docs/output/Ext.data.Store.html @@ -1,4 +1,5 @@ -
Observable Store
Package: | Ext.data |
Defined In: | Store.js |
Class: | Store |
Subclasses: | ArrayStore, DirectStore, GroupingStore, JsonStore, XmlStore |
Extends: | Observable |
The Store class encapsulates a client side cache of Record +
Observable + Store
Package: | Ext.data |
Defined In: | Store.js |
Class: | Store |
Subclasses: | ArrayStore, DirectStore, GroupingStore, JsonStore, XmlStore |
Extends: | Observable |
The Store class encapsulates a client side cache of Record objects which provide input data for Components such as the GridPanel, the ComboBox, or the DataView.
Retrieving Data
@@ -218,13 +219,12 @@ for a description of this property. To modify this property see setBasePar...corresponding configuration option
for a description of this property.
To modify this property see setBaseParam
.Array filters
)
- :
- Functionfilters
: ArrayFunction
String field
, String direction
)
- :
- Functionfield
: Stringdirection
: StringFunction
Function fn
, [Object scope
] )
:
@@ -414,21 +408,21 @@ options to filter by more than one property.
Single filter example:
store.filter('name', 'Ed', true, true); //finds all records containing the substring 'Ed'
Multiple filter example:
-store.filter([
+store.filter([
{
-property : 'name',
-value : 'Ed',
-anyMatch : true, //optional, defaults to true
-caseSensitive: true //optional, defaults to true
+property : 'name',
+value : 'Ed',
+anyMatch : true, //optional, defaults to true
+caseSensitive: true //optional, defaults to true
},
-//filter functions can also be passed
+//filter functions can also be passed
{
-fn : function(record) {
-return record.get('age') == 24
+fn : function(record) {
+return record.get('age') == 24
},
scope: this
}
-]);Parameters:field
: String|ArrayA field on your records, or an array containing multiple filter optionsvalue
: String/RegExpEither a string that the field should begin with, or a RegExp to test
+]);Parameters:field
: String|ArrayA field on your records, or an array containing multiple filter optionsvalue
: String/RegExpEither a string that the field should begin with, or a RegExp to test
against the field.anyMatch
: Boolean(optional) true to match any part not just the beginningcaseSensitive
: Boolean(optional) true for case sensitive comparisonexactMatch
: BooleanTrue to force exact match (^ and $ characters added to the regex). Defaults to false. Ignored if anyMatch is true.
Returns:- void
Function fn
, [Object scope
] )
:
voidExt.data.Store store
, String action
, Record/Record[] rs
, Object options
, Object arg
)
store
: Ext.data.Storeaction
: Stringrs
: Record/Record[]options
: Objectoptions.params
to add Http parameters to the request. (see save for details)arg
: ObjectStore this
, Record[] The
)
- this
: StoreThe
: Record[]Store this
, Record[] records
)
+ this
: Storerecords
: Record[]Store this
)