Clear Up
SharpKit Reference

Selectable Class

Namespace: Ext.mixin

Base Types

System.Object

Constructors

Properties

Name Description
alternateClassName Tracks what records are currently selected in a databound widget. This class is mixed in to @private
extend

Methods

Name Description
applyMode(object)
applySelected(object, object)
applyStore(object)
clearSelections()
deselect(object, bool) Deselects the given record(s). If many records are currently selected, it will only deselect those you pass in. @param {Number/Array/Ext.data.Model} records The record(s) to deselect. Can also be a number to reference by index @param {Boolean} suppressEvent If true the deselect event will not be fired
deselectAll()
doMultiSelect(object, object, object)
doSingleSelect(object, object)
fireSelectionChange(object)
getCount()
getSelection() Returns an array of the currently selected records.
hasSelection() Returns true if there is a selected record. @return {Boolean}
isSelected(object) Returns true if the specified row is selected. @param {Ext.data.Model/Number} record The record or index of the record to check @return {Boolean}
onSelectionStoreClear()
onSelectionStoreRemove(object, object)
refreshSelection()
select(object, bool, bool) Adds the given records to the currently selected set @param {Ext.data.Model/Array/Number} records The records to select @param {Boolean} keepExisting If true, the existing selection will be added to (if not, the old selection is replaced) @param {Boolean} suppressEvent If true, the 'select' event will not be fired
selectAll(object)
selectRange(JsNumber, JsNumber, bool, object) Selects a range of rows if the selection model {@link Ext.mixin.Selectable#getLocked is not locked}. All rows in between startRow and endRow are also selected. @param {Number} startRow The index of the first row in the range @param {Number} endRow The index of the last row in the range @param {Boolean} keepExisting (optional) True to retain existing selections
selectWithEvent(object)
updateLastFocused(object, object) @param {Ext.data.Record} record Set a record as the last focused record. This does NOT mean that the record has been selected.
updateStore(object, object)
© Copyright 2005-2011 SharpKit. All rights reserved.