X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.data.ArrayReader.html?ds=sidebyside diff --git a/docs/output/Ext.data.ArrayReader.html b/docs/output/Ext.data.ArrayReader.html index dd6b573d..73ef12f9 100644 --- a/docs/output/Ext.data.ArrayReader.html +++ b/docs/output/Ext.data.ArrayReader.html @@ -1,4 +1,4 @@ -
DataReader JsonReader ArrayReader
Package: | Ext.data |
Defined In: | ArrayReader.js |
Class: | ArrayReader |
Extends: | JsonReader |
Data reader class to create an Array of Ext.data.Record objects from an Array. +
DataReader JsonReader ArrayReader
Package: | Ext.data |
Defined In: | ArrayReader.js |
Class: | ArrayReader |
Extends: | JsonReader |
Data reader class to create an Array of Ext.data.Record objects from an Array.
Each element of that Array represents a row of data fields. The
fields are pulled into a Record object using as a subscript, the mapping
property
of the field definition if it exists, or the field's ordinal position in the definition.
Either an Array of Field definition objects (which will be passed to Ext.data.Record.create, or a Record constructor created from Ext.data.Record.create.
Property | Defined By | |
---|---|---|
buildExtractors : Object Abstract method, overridden in Ext.data.JsonReader | DataReader | |
jsonData : Object After any data loads, the raw JSON data is available for further custom processing. If no data is
+An exception will be thrown if the root property is undefined. The data
+packet value for this property should be an empty array to clear the data
+or show no data. | JsonReader | |
totalProperty : String [total] Name of the property from which to
+retrieve the total number of records in the dataset. This is only needed
+i... [total] Name of the property from which to
+retrieve the total number of records in the dataset. This is only needed
+if the whole dataset is not passed in one go, but is being paged from
+the remote server. Defaults to total. | JsonReader |
Property | Defined By | |
---|---|---|
buildExtractors : Object Abstract method, overridden in DataReader extensions such as Ext.data.JsonReader and Ext.data.XmlReader | DataReader | |
extractData : Object Abstract method overridden in DataReader extensions such as Ext.data.JsonReader and Ext.data.XmlReader | DataReader | |
extractValues : Object Abstract method overridden in DataReader extensions such as Ext.data.JsonReader and Ext.data.XmlReader | DataReader | |
getId : Object Abstract method created in extension's buildExtractors impl. | DataReader | |
getMessage : Object Abstract method created in extension's buildExtractors impl. | DataReader | |
getRoot : Object Abstract method created in extension's buildExtractors impl. | DataReader | |
getSuccess : Object Abstract method created in extension's buildExtractors impl. | DataReader | |
getTotal : Object Abstract method created in extension's buildExtractors impl. | DataReader | |
jsonData : Object After any data loads, the raw JSON data is available for further custom processing. If no data is
loaded or there is... After any data loads, the raw JSON data is available for further custom processing. If no data is
loaded or there is a load exception this property will be undefined. | JsonReader | |
meta : Mixed This JsonReader's metadata as passed to the constructor, or as passed in
the last data packet's metaData property. | JsonReader |
Method | Defined By | ||
---|---|---|---|
ArrayReader( Object meta , Array/Object recordType )
@@ -43,7 +46,8 @@ a cache of Ext.data.Records. | Create a data block containing Ext.data.Records from an Array. Create a data block containing Ext.data.Records from an Array. Parameters:
| ArrayReader | |
readResponse( String action , Object response )
:
- voidDecode a json response from server. Decode a json response from server. Parameters:
| JsonReader | ||
realize( Record/Record[] record , Object/Object[] data )
+ voidDecode a json response from server. Decode a json response from server. Parameters:
| JsonReader | ||
realize( Record/Record[] record , Object/Object[] data )
:
voidUsed for un-phantoming a record after a successful database insert. Sets the records pk along with new data from ser... Used for un-phantoming a record after a successful database insert. Sets the records pk along with new data from server.
You must return at least the database pk using the idProperty defined in your DataReader configuration. The incoming
|