Constructordojox.grid.editors.Base

dojo.require("dojox.grid._data.editors");
defined in dojox/grid/_data/editors.js

base grid editor class. Other grid editors should inherited from this class.

Usage

function (inCell) (view source)
parametertypedescription
inCell  

Jump to PropertiesFunctionsBack to top

Functionapply(inRowIndex: Integer)
apply edit from cell editor
Functioncancel(inRowIndex: Integer)
cancel cell edit
Functionfocus(inRowIndex: Integer, inNode)
focus the grid editor
Functionformat(inDatum, inRowIndex: Integer)
formats the cell for editing
FunctionformatNode(inNode, inDatum, inRowIndex: Integer)
format the editing dom node. Use when editor is a widget.
FunctiongetNode(inRowIndex)
FunctiongetValue(inRowIndex: Integer)
FunctionneedFormatNode(inDatum, inRowIndex)
Functionrestore(inRowIndex: Integer)
restore editor state
Functionsave(inRowIndex: Integer)
save editor state
FunctionsetValue(inRowIndex: Integer, inValue)
set the value of the grid editor
Function_finish(inRowIndex: Integer)
called when editing is completed to clean up editor
Function_formatNode(inDatum, inRowIndex)

Jump to FunctionsPropertiesBack to top