X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/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..1e78abe8 100644 --- a/docs/output/Ext.data.XmlStore.html +++ b/docs/output/Ext.data.XmlStore.html @@ -348,13 +348,7 @@ should go based on the current sort information.
Array filters
)
- :
- Functionfilters
: ArrayFunction
String field
, String direction
)
- :
- Functionfield
: Stringdirection
: StringFunction
Function fn
, [Object scope
] )
:
@@ -402,21 +396,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
] )
:
void