dojox/grid/enhanced/_FocusManager (version 1.10)

dojox/grid/_FocusManager

Usage

var foo = new _FocusManager(grid);
dojox/grid/enhanced/_FocusManager
Parameter Type Description
grid undefined

Property Summary

Method Summary

Event Summary

Properties

_blurFromEditableCell
_colHeadFocusIdx
_colHeadNode
_contextMenuBindNode
_isNavigating
_navElems
focusClass
focusView
tabbingOut

Methods

_applyEditableCell()
_bindAreaEvents()
_blurContent(evt,step)
Parameter Type Description
evt undefined
step undefined
Returns:boolean
_blurEditableCell(evt,step)
Parameter Type Description
evt undefined
step undefined
Returns:string | boolean
_blurHeader(evt,step)

Overwritten

Parameter Type Description
evt undefined
step undefined
Returns:boolean
_changeMenuBindNode(oldBindNode,newBindNode)
Parameter Type Description
oldBindNode undefined
newBindNode undefined
_delayedCellFocus()

Overwritten

_delayedHeaderFocus()

Overwritten

_doBlur()
_findHeaderCells()
Returns:Array
_focusContent(evt,step)
Parameter Type Description
evt undefined
step undefined
Returns:boolean
_focusEditableCell(evt,step)
Parameter Type Description
evt undefined
step undefined
Returns:boolean
_focusifyCellNode(inBork)
Parameter Type Description
inBork undefined
_initColumnHeaders()
_initNavigatableElems()
_isHeaderHidden()

determine if the grid headers are hidden relies on documented technique of setting .dojoxGridHeader { display:none; }

Returns:Boolean | undefined

true if headers are hidden false if headers are not hidden

_mouseDown(e)
Parameter Type Description
e undefined
_mouseUp(e)
Parameter Type Description
e undefined
_navContent(rowStep,colStep,evt)
Parameter Type Description
rowStep undefined
colStep undefined
evt undefined
_navHeader(rowStep,colStep,evt)
Parameter Type Description
rowStep undefined
colStep undefined
evt undefined
_scrollHeader(currentIdx)
Parameter Type Description
currentIdx undefined
_scrollInfo(cell,domNode)
Parameter Type Description
cell undefined
domNode undefined
Returns:object | null
_setActiveColHeader()

Overwritten

_stopEvent(evt)
Parameter Type Description
evt undefined
addArea(area)
Parameter Type Description
area undefined
blurHeader()
colSizeAdjust(e,colIdx,delta)
Parameter Type Description
e undefined
colIdx undefined
delta undefined
contentMouseEvent(evt)
Parameter Type Description
evt undefined
currentArea(areaName,toBlurOld)

Set current area to the one areaName refers.

Parameter Type Description
areaName String
toBlurOld undefined
Returns:undefined | null
destroy()
doBlur(e)
Parameter Type Description
e undefined
doColHeaderBlur(e)
Parameter Type Description
e undefined
doColHeaderFocus(e)
Parameter Type Description
e undefined
doContextMenu(e)
Parameter Type Description
e undefined
doFocus(e)

Overwritten trap focus only for grid dom node do not focus for scrolling if grid is about to blur

Parameter Type Description
e undefined
doLastNodeBlur(e)
Parameter Type Description
e undefined
doLastNodeFocus(e)

Overwritten

Parameter Type Description
e undefined
findAndFocusGridCell()

Overwritten

focusArea(areaId,evt)
Parameter Type Description
areaId int | string | areaObj
evt undefined
focusGrid(inSkipFocusCell)
Parameter Type Description
inSkipFocusCell undefined
focusGridView()
focusHeader(evt,step)
Parameter Type Description
evt undefined
step undefined
Returns:boolean
getArea(areaName)
Parameter Type Description
areaName undefined
Returns:undefined
getHeaderIndex()

if one of the column headers currently has focus, return its index.

Returns:any | undefined | number

index of the focused column header, or -1 if none have focus.

headerMouseEvent(evt)
Parameter Type Description
evt undefined
ignoreArea(name)
Parameter Type Description
name undefined
initFocusView()

Overwritten

isFirstFocusCell()
Returns:boolean
isFocusCell(inCell,inRowIndex)

states if the given cell is focused

Parameter Type Description
inCell object

grid cell object

inRowIndex int

grid row index

Returns:any | boolean

true of the given grid cell is focused

isLastFocusCell()
Returns:boolean
isNavHeader()

Overwritten Check whether currently navigating among column headers.

Returns:any | boolean

true - focus is on a certain column header | false otherwise

isNoFocusCell()
Returns:boolean
move(inRowDelta,inColDelta)

focus grid cell or simulate focus to column header based on position relative to current focus

Parameter Type Description
inRowDelta int

vertical distance from current focus

inColDelta int

horizontal distance from current focus

next()

focus next grid cell

nextKey(e)

Overwritten

Parameter Type Description
e undefined
placeArea(name,pos,otherAreaName)

Place the area referred by name at some logical position relative to an existing area.

Parameter Type Description
name undefined
pos undefined
otherAreaName undefined

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

previous()

focus previous grid cell

previousKey(e)

Overwritten

Parameter Type Description
e undefined
removeArea(areaName)
Parameter Type Description
areaName undefined
scrollIntoView()
Returns:null | undefined
setFocusCell(inCell,inRowIndex)

Overwritten - focuses the given grid cell

Parameter Type Description
inCell Object
inRowIndex Integer
setFocusIndex(inRowIndex,inCellIndex)

focuses the given grid cell

Parameter Type Description
inRowIndex int

grid row index

inCellIndex int

grid cell index

styleRow(inRow)
Parameter Type Description
inRow undefined
tab(step,evt)
Parameter Type Description
step undefined
evt undefined
tabOut(inFocusNode)
Parameter Type Description
inFocusNode undefined

Events

_onContentKeyDown(e,isBubble)
Parameter Type Description
e undefined
isBubble undefined
Returns:boolean

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

_onEditableCellKeyDown(e,isBubble)
Parameter Type Description
e undefined
isBubble undefined
Returns:boolean

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

_onEditableCellMouseEvent(evt)
Parameter Type Description
evt undefined
Returns:boolean

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

_onHeaderKeyDown(e,isBubble)
Parameter Type Description
e undefined
isBubble undefined
Returns:boolean

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

_onMouseEvent(type,evt)
Parameter Type Description
type undefined
evt undefined

Examples

Example 1

placeArea("myarea","before"|"after",...) placeArea("myarea","below"|"above",...)

Error in the documentation? Can’t find what you are looking for? Let us know!