X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.data.ArrayStore.html diff --git a/docs/output/Ext.data.ArrayStore.html b/docs/output/Ext.data.ArrayStore.html index e7c342b0..114fbfae 100644 --- a/docs/output/Ext.data.ArrayStore.html +++ b/docs/output/Ext.data.ArrayStore.html @@ -328,13 +328,7 @@ should go based on the current sort information.
Commit all Records with outstanding changes. To handle updates for changes, subscribe to the Store's update event, an...
Commit all Records with outstanding changes. To handle updates for changes, subscribe to the Store's update event, and perform updating when the third parameter is -Ext.data.Record.COMMIT.
Parameters:
  • None.
Returns:
  • void
Store createMultipleFilterFnArray filters ) - : - Function
Given an array of filter functions (each with optional scope), constructs and returns a single function that returns -...
Given an array of filter functions (each with optional scope), constructs and returns a single function that returns -the result of all of the filters ANDed together
Parameters:
  • filters : Array
    The array of filter objects (each object should contain an 'fn' and optional scope)
Returns:
  • Function
    The multiple filter function
Store createSortFunctionString fieldString direction ) - : - Function
Creates and returns a function which sorts an array by the given field and direction
Creates and returns a function which sorts an array by the given field and direction
Parameters:
  • field : String
    The field to create the sorter for
  • direction : String
    The direction to sort by (defaults to "ASC")
Returns:
  • Function
    A function which sorts by the field/direction combination provided
Store destroy() +Ext.data.Record.COMMIT.
Parameters:Returns:
Store destroy() : void
Destroys the store.
Destroys the store.
Parameters:
  • None.
Returns:
  • void
Store eachFunction fn[Object scope] ) : @@ -382,21 +376,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:
Parameters:Returns:
Store filterByFunction fn[Object scope] ) : void
Filter by a function. The specified function will be called for each