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

Summary

grid cell that provides a standard text input box upon editing

Usage

var foo = new _base.Cell();
dojox/grid/cells/_base

Property Summary

Method Summary

Event Summary

Properties

_formatPending
_valueProp
alwaysEditing
classes
defaultValue
draggable
editable
formatter
hidden
KEY_HANDLER
keyFilter

optional regex for disallowing keypresses

LRE
noresize
PDF
RLE
styles
value

Methods

_defaultFormat(inValue,callArgs)
Parameter Type Description
inValue undefined
callArgs undefined
Returns:undefined | string | instance
_enforceTextDirWithUcc(textDir,text)

Wraps by UCC (Unicode control characters) option's text according to textDir

Parameter Type Description
textDir undefined

The control text direction

text undefined

The text to be wrapped.

Returns:number
_finish(inRowIndex)
Parameter Type Description
inRowIndex undefined
_formatNode(inDatum,inRowIndex)
Parameter Type Description
inDatum undefined
inRowIndex undefined
_getTextDirMarkup(inDatum)

Returns input text direction related attributes.

Parameter Type Description
inDatum undefined

Control text value.

Returns:string
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:string
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)

returns value entered into editor

Parameter Type Description
inRowIndex int

grid row index

Returns:any | undefined

value of editor

isFlex()
Returns:undefined
markupFactory(node,cellDef)
Parameter Type Description
node undefined
cellDef 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!