X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.data.JsonStore.html diff --git a/docs/output/Ext.data.JsonStore.html b/docs/output/Ext.data.JsonStore.html index ff51cf47..a797ae26 100644 --- a/docs/output/Ext.data.JsonStore.html +++ b/docs/output/Ext.data.JsonStore.html @@ -1,4 +1,4 @@ -
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 +7,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