Class idx.grid.cells.Text


Extends dojox.grid.cells.Cell.
Renders cell with optional CSS class and/or place holder text.
Defined in: <idx\grid\cells.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
Applies the change when the editor's loosing focus.
 
Place holder text shown for an empty value.
 
CSS class for the text.

Method Summary

Method Attributes Method Name and Description
 
Cleans up dangling handles in case "blur" event never fired.
 
formatNode(, value, index)
Sets up an event handler for applying the change when the editor's loosing focus.
 
formatter((String))
Applies text calss and place holder text.
 
get(index, item)
Converts null and undefined value to an empty string.

Constructor Detail

idx.grid.cells.Text()

Field Detail

{Boolean} applyOnBlur

Applies the change when the editor's loosing focus.
Default Value:
false

{String} placeHolder

Place holder text shown for an empty value.
Default Value:
" "

{String} textClass

CSS class for the text.
Default Value:
""

Method Detail

destroy()

Cleans up dangling handles in case "blur" event never fired.

formatNode(, value, index)

Sets up an event handler for applying the change when the editor's loosing focus.
Parameters:
{Element) node
{String} value
{Number} index

{String} formatter((String))

Applies text calss and place holder text.
Parameters:
(String)
value
Returns:
{String}

{String} get(index, item)

Converts null and undefined value to an empty string.
Parameters:
{Number} index
{Object} item
Returns:
{String}