/** * @class Ext.dataview.selection.Rows * @extend Ext.dataview.selection.Selection * @alias selection.rows * A class which encapsulates a range of rows defining a selection in a grid. * */ /** * @property {Boolean} [isRows=true] * This property indicates the this selection represents selected rows. * @readonly */ /** * @cfg {Ext.util.Spans} [selected=true] * A cache of start/end row ranges which encpsulates the selected rows. * @readonly * @accessor */ /** * @method isSelected * Returns `true` if the passed {@link Ext.data.Model record} is selected. * @param {Ext.data.Model} record The record to test. * @return {Boolean} `true` if the passed {@link Ext.data.Model record} is selected. */ /** * @method getCount * Returns the number of records selected * @return {Number} The number of records selected. */ /** * @method getFirstRowIndex * @return {Number} The row index of the first row in the range or zero if no range. */ /** * @method getLastRowIndex * @return {Number} The row index of the last row in the range or -1 if no range. */