dojox/grid/cells/_base.Select (version 1.10)

Summary

grid cell that provides a standard select for editing

Usage

var foo = new _base.Select(inCell);
dojox/grid/cells/_base
Parameter Type Description
inCell undefined

Property Summary

Method Summary

Event Summary

Properties

_formatPending
_getValueCallOrig
_valueProp
alwaysEditing
classes
defaultValue
draggable
editable
formatter
hidden
keyFilter

optional regex for disallowing keypresses

noresize
options

text of each item

returnIndex

editor returns only the index of the selected option and not the value

styles
value
values

value for each item

Methods

_defaultFormat(inValue,callArgs)
Parameter Type Description
inValue undefined
callArgs undefined
Returns:undefined
_finish(inRowIndex)
Parameter Type Description
inRowIndex undefined
_formatNode(inDatum,inRowIndex)
Parameter Type Description
inDatum undefined
inRowIndex undefined
apply(inRowIndex)

apply edit from cell editor

Parameter Type Description
inRowIndex int

grid row index

applyEdit(inValue,inRowIndex)
Parameter Type Description
inValue undefined
inRowIndex undefined
cancel(inRowIndex)

cancel cell edit

Parameter Type Description
inRowIndex int

grid row index

cancelEdit(inRowIndex)
Parameter Type Description
inRowIndex undefined
cancelFormatNode()
canResize()
Returns:undefined
dispatchEvent(m,e)
Parameter Type Description
m undefined
e undefined
Returns:undefined
doKey(e)
Parameter Type Description
e undefined
focus(inRowIndex,inNode)

focus the grid editor

Parameter Type Description
inRowIndex int

grid row index

inNode undefined

editor node

format(inRowIndex,inItem)

provides the html for a given grid cell.

Parameter Type Description
inRowIndex int

grid row index

inItem undefined
Returns:any | undefined

html for a given grid cell

formatEditing(inDatum,inRowIndex)
Parameter Type Description
inDatum undefined
inRowIndex undefined
Returns:undefined
formatNode(inNode,inDatum,inRowIndex)
Parameter Type Description
inNode undefined
inDatum undefined
inRowIndex undefined
getEditNode(inRowIndex)
Parameter Type Description
inRowIndex undefined
Returns:number
getHeaderNode()
Returns:undefined
getNode(inRowIndex)

gets the dom node for a given grid cell.

Parameter Type Description
inRowIndex int

grid row index

Returns:any | undefined

dom node for a given grid cell

getValue(inRowIndex)
Parameter Type Description
inRowIndex undefined
Returns:undefined
isFlex()
Returns:undefined
markupFactory(node,cell)
Parameter Type Description
node undefined
cell undefined
needFormatNode(inDatum,inRowIndex)
Parameter Type Description
inDatum undefined
inRowIndex undefined
registerOnBlur(inNode,inRowIndex)
Parameter Type Description
inNode undefined
inRowIndex undefined
restore(inRowIndex)

restore editor state

Parameter Type Description
inRowIndex int

grid row index

save(inRowIndex)

save editor state

Parameter Type Description
inRowIndex int

grid row index

setValue(inRowIndex,inValue)

set the value of the grid editor

Parameter Type Description
inRowIndex int

grid row index

inValue anything

value of editor

Events

_onEditBlur(inRowIndex)
Parameter Type Description
inRowIndex undefined
Error in the documentation? Can’t find what you are looking for? Let us know!