/** * @class Ext.data.ResultSet * @extend Ext.Base * @protected * Simple wrapper class that represents a set of records returned by a Proxy. */ /** * @property {Boolean} [isResultSet=true] * Identifies this class as a result set. */ /** * @cfg {Boolean} [loaded=true] * True if the records have already been loaded. This is only meaningful when dealing with * SQL-backed proxies. * @accessor */ /** * @cfg {Number} [count=null] * The number of records in this ResultSet. Note that total may differ from this number. * @accessor */ /** * @cfg {Number} [total=null] * The total number of records reported by the data source. This ResultSet may form a subset of * those records (see {@link #count}). * @accessor */ /** * @cfg {Number} [remoteTotal=null] * The total number of records reported by the remote data source. * @accessor */ /** * @cfg {Boolean} [success=false] * True if the ResultSet loaded successfully, false if any errors were encountered. * @accessor */ /** * @cfg {Ext.data.Model[]/Object[]} [records=null] (required) * The array of record instances or record config objects. * @accessor */ /** * @cfg {String} [message=null] * The message that was read in from the data * @accessor */ /** * @cfg {Object} [metadata=null] * The metadata object from a server sourced JSON data packet. * @accessor */ /** * @cfg {Ext.data.Model[]} [groupData=null] * The grouping data. * @accessor */ /** * @cfg {Ext.data.Model} [summaryData=null] * The summary data. * @accessor */ /** * @method constructor * Creates the resultSet * @param {Object} [config] Config object. */