dojox/grid/Selection (version 1.10)

Summary

Manages row selection for grid. Owned by grid and used internally for selection. Override to implement custom selection.

Usage

var foo = new Selection(inGrid);
dojox/grid/Selection
Parameter Type Description
inGrid undefined

Property Summary

Method Summary

Event Summary

Properties

mode
Defined by: dojox/grid/Selection
rangeStartIndex
Defined by: dojox/grid/Selection
selected
Defined by: dojox/grid/Selection
selectedIndex
Defined by: dojox/grid/Selection
updating
Defined by: dojox/grid/Selection

Methods

_beginUpdate()
_endUpdate()
_range(inFrom,inTo,func)
Parameter Type Description
inFrom undefined
inTo undefined
func undefined
addToSelection(inIndex)
Parameter Type Description
inIndex undefined
clear()
clickSelect(inIndex,inCtrlKey,inShiftKey)
Parameter Type Description
inIndex undefined
inCtrlKey undefined
inShiftKey undefined
clickSelectEvent(e)
Parameter Type Description
e undefined
deselect(inIndex)
Parameter Type Description
inIndex undefined
deselectAll(inExcept)
Parameter Type Description
inExcept undefined
deselectRange(inFrom,inTo)
Parameter Type Description
inFrom undefined
inTo undefined
getFirstSelected()
Returns:number
getNextSelected(inPrev)
Parameter Type Description
inPrev undefined
Returns:number
getSelected()
Returns:Array
getSelectedCount()
Returns:number
insert(inIndex)
Parameter Type Description
inIndex undefined
isSelected(inIndex)
Parameter Type Description
inIndex undefined
Returns:boolean | undefined
remove(inIndex)
Parameter Type Description
inIndex undefined
select(inIndex)
Parameter Type Description
inIndex undefined
selectRange(inFrom,inTo)
Parameter Type Description
inFrom undefined
inTo undefined
setMode(mode)
Parameter Type Description
mode undefined
setSelected(inIndex,inSelect)
Parameter Type Description
inIndex undefined
inSelect undefined
toggleSelect(inIndex)
Parameter Type Description
inIndex undefined

Events

onCanDeselect(inIndex)
Defined by: dojox/grid/Selection
Parameter Type Description
inIndex undefined
Returns:undefined
onCanSelect(inIndex)
Defined by: dojox/grid/Selection
Parameter Type Description
inIndex undefined
Returns:undefined
onChanged()
Defined by: dojox/grid/Selection
onChanging()
Defined by: dojox/grid/Selection
onDeselected(inIndex)
Defined by: dojox/grid/Selection
Parameter Type Description
inIndex undefined
onSelected(inIndex)
Defined by: dojox/grid/Selection
Parameter Type Description
inIndex undefined
Error in the documentation? Can’t find what you are looking for? Let us know!