dojox/grid/_EditManager (version 1.10)

Summary

Controls grid cell editing process. Owned by grid and used internally for editing.

Usage

var foo = new _EditManager(inGrid);
dojox/grid/_EditManager
Parameter Type Description
inGrid dojox.Grid

The dojox.Grid this editor should be attached to

Property Summary

Method Summary

Event Summary

Properties

_boomerangWindow
info

Methods

_boomerangFocus()
_doCatchBoomerang()
_editorDo(inMethod)
Parameter Type Description
inMethod undefined
_focusEditor(inCell,inRowIndex)
Parameter Type Description
inCell undefined
inRowIndex undefined
_isValidInput()
Returns:boolean | undefined
_shouldCatchBoomerang()
Returns:boolean
apply()

Apply a grid edit

applyCellEdit(inValue,inCell,inRowIndex)
Parameter Type Description
inValue undefined
inCell undefined
inRowIndex undefined
applyRowEdit()
cancel()

Cancel a grid edit

cellFocus(inCell,inRowIndex)

Invoke editing when cell is focused

Parameter Type Description
inCell undefined

Grid cell object

inRowIndex Integer

Grid row index

destroy()
dispatchEvent(e)
Parameter Type Description
e undefined
Returns:number
editorApply()
editorCancel()
focusEditor()
isEditCell(inRowIndex,inCellIndex)

Indicates if the given cell is being edited.

Parameter Type Description
inRowIndex Integer

Grid row index

inCellIndex Integer

Grid cell index

Returns:Boolean | boolean

True if given cell is being edited

isEditing()

Indicates editing state of the grid.

Returns:Boolean | boolean

True if grid is actively editing

isEditRow(inRowIndex)

Indicates if the given row is being edited.

Parameter Type Description
inRowIndex Integer

Grid row index

Returns:Boolean | boolean

True if given row is being edited

restore(inView,inRowIndex)

Restores the grid editing state

Parameter Type Description
inView Object

Grid view

inRowIndex Integer

Grid row index

rowClick(e)
Parameter Type Description
e undefined
save(inRowIndex,inView)

Save the grid editing state

Parameter Type Description
inRowIndex Integer

Grid row index

inView Object

Grid view

setEditCell(inCell,inRowIndex)

Set the given cell to be edited

Parameter Type Description
inCell Object

Grid cell object

inRowIndex Integer

Grid row index

start(inCell,inRowIndex,inEditing)
Parameter Type Description
inCell undefined
inRowIndex undefined
inEditing undefined
styleRow(inRow)
Parameter Type Description
inRow undefined

Events

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