API: datatable YAHOO.widget.TextboxCellEditor (YUI Library)

# Yahoo! UI Library

### DataTable Widget 2.8.0r4

Yahoo! UI Library > datatable > YAHOO.widget.TextboxCellEditor
Search:
Filters Show Private Show Protected Show Deprecated

## Class YAHOO.widget.TextboxCellEditor - extends YAHOO.widget.BaseCellEditor

The TextboxCellEditor class provides functionality for inline editing DataTable cell data with an INPUT TYPE=TEXT element.

### Constructor

YAHOO.widget.TextboxCellEditor `( oConfigs )`

Parameters:
  `oConfigs <Object>` (Optional) Object literal of configs.

### Properties

#### DataTable.Editors - `static Object`

CellEditor subclasses.

#### textbox - `object`

Reference to the textbox element.

#### Properties inherited from YAHOO.widget.BaseCellEditor:

`_elCancelBtn, _elContainer, _elSaveBtn, _elTd, _oColumn, _oDataTable, _oRecord, _sId, _sType, asyncSubmitter, defaultValue, disableBtns, isActive, LABEL_CANCEL, LABEL_SAVE, resetInvalidData, validator, value`

### Methods

#### focus

`void focus ( )`
Sets focus in TextboxCellEditor.

Returns: `void`

#### getInputValue

`void getInputValue ( )`
Returns new value for TextboxCellEditor.

Returns: `void`

#### move

`void move ( )`
Moves TextboxCellEditor UI to a cell.

Returns: `void`

#### renderForm

`void renderForm ( )`
Render a form with input type=text.

Returns: `void`

#### resetForm

`void resetForm ( )`
Resets TextboxCellEditor UI to initial state.

Returns: `void`

#### Methods inherited from YAHOO.widget.BaseCellEditor:

`_initConfigs, _initEvents, attach, block, cancel, destroy, doAfterRender, focus, getColumn, getContainerEl, getDataTable, getId, getInputValue, getRecord, getTdEl, handleDisabledBtns, move, render, renderBtns, renderForm, resetForm, save, show, toString, unblock`

#### Events inherited from YAHOO.widget.BaseCellEditor:

`blurEvent, cancelEvent, invalidDataEvent, keydownEvent, revertEvent, saveEvent, showEvent,`

Copyright © 2009 Yahoo! Inc. All rights reserved.