ReaderConfig Class

Namespace: Ext.data.reader

Base Types

System.Object

Constructors

Name Description
ReaderConfig()

Properties

Name Description
idProperty Name of the property within a row object that contains a record identifier value. Defaults to The id of the model. If an idProperty is explicitly specified it will override that of the one specified on the model
messageProperty The name of the property which contains a response message. This property is optional.
root **(Required)** The name of the property which contains the Array of row objects. Defaults to undefined. 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.
successProperty Name of the property from which to retrieve the success attribute. Defaults to success. See {@link Ext.data.proxy.Server}.{@link Ext.data.proxy.Server#exception exception} for additional information.
totalProperty 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.
© Copyright 2005-2011 SharpKit. All rights reserved.