X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.data.JsonStore.html?ds=inline diff --git a/docs/output/Ext.data.JsonStore.html b/docs/output/Ext.data.JsonStore.html index ff51cf47..0e096c5c 100644 --- a/docs/output/Ext.data.JsonStore.html +++ b/docs/output/Ext.data.JsonStore.html @@ -1,4 +1,6 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Store
    JsonStore

Class Ext.data.JsonStore

Package:Ext.data
Defined In:JsonStore.js
Class:JsonStore
Extends:Store
xtype:jsonstore

Small helper class to make creating Ext.data.Stores from JSON data easier. +

Observable
+  Store
+    JsonStore

Class Ext.data.JsonStore

Package:Ext.data
Defined In:JsonStore.js
Class:JsonStore
Extends:Store

Small helper class to make creating Ext.data.Stores from JSON data easier. A JsonStore will be automatically configured with a Ext.data.JsonReader.

A store configuration would be something like:

var store = new Ext.data.JsonStore({
     // store configs
@@ -7,7 +9,7 @@ A JsonStore will be automatically configured with a 
An object literal of this form could also be used as the data config option.

-

*Note: Although not listed here, this class accepts all of the configuration options of +

*Note: Although not listed here, this class accepts all of the configuration options of JsonReader.

Config Options

Config OptionsDefined By
 fields : Ext.util.MixedCollection
A MixedCollection containing the defined Fields -for the Records stored in this Store. Read-only.
Store
 isDestroyed : Boolean +True if the store has been destroyed already. Read only
Store
 multiSort : Boolean +True if this store is currently sorted by more than one field/direction combination.
Store
 multiSortInfo : Object
Object containing overall sort direction and an ordered array of sorter configs used when sorting on multiple fields
Store

Public Methods

MethodDefined By

Public Methods

MethodDefined By
\ No newline at end of file +Success of the action is determined in the...
Fires if the server returns 200 after an Ext.data.Api.actions CRUD action. +Success of the action is determined in the result['successProperty']property (NOTE for RESTful stores, +a simple 20x response is sufficient for the actions "destroy" and "update". The "create" action should should return 200 along with a database pk).
Listeners will be called with the following arguments:
  • store : Ext.data.Store
  • action : String
    [Ext.data.Api.actions.create|update|destroy]
  • result : Object
    The 'data' picked-out out of the response for convenience.
  • res : Ext.Direct.Transaction
  • rs : Record/Record[]
    Store's records, the subject(s) of the write-action
Store \ No newline at end of file