X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.data.XmlStore.html?ds=inline diff --git a/docs/output/Ext.data.XmlStore.html b/docs/output/Ext.data.XmlStore.html index 34646732..01b53513 100644 --- a/docs/output/Ext.data.XmlStore.html +++ b/docs/output/Ext.data.XmlStore.html @@ -1,4 +1,6 @@ -
Observable Store XmlStore
Package: | Ext.data |
Defined In: | XmlStore.js |
Class: | XmlStore |
Extends: | Store |
Small helper class to make creating Ext.data.Stores from XML data easier. +
Observable + Store + XmlStore
Package: | Ext.data |
Defined In: | XmlStore.js |
Class: | XmlStore |
Extends: | Store |
Small helper class to make creating Ext.data.Stores from XML data easier. A XmlStore will be automatically configured with a Ext.data.XmlReader.
A store configuration would be something like:
var store = new Ext.data.XmlStore({
// store configs
@@ -207,13 +209,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
] )
:
@@ -402,21 +397,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
)