# Yahoo! UI Library

### DataTable Widget 2.8.1

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

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

The TextareaCellEditor class provides functionality for inline editing DataTable cell data with a TEXTAREA element.

### Constructor

YAHOO.widget.TextareaCellEditor `( oConfigs )`

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

### Properties

#### textarea - `HTMLElement`

Reference to textarea 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`

#### Properties inherited from YAHOO.util.EventProvider:

`__yui_events, __yui_subscribers`

### Methods

#### focus

`void focus ( )`
Sets focus in TextareaCellEditor.

#### getInputValue

`void getInputValue ( )`
Retrieves input value from TextareaCellEditor.

#### handleDisabledBtns

`void handleDisabledBtns ( )`
After rendering form, if disabledBtns is set to true, then sets up a mechanism to save input without them.

#### move

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

#### renderForm

`void renderForm ( )`
Render a form with textarea.

#### resetForm

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

#### 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`

#### Methods inherited from YAHOO.util.EventProvider:

`createEvent, fireEvent, hasEvent, subscribe, unsubscribe, unsubscribeAll`

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

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

Copyright © 2010 Yahoo! Inc. All rights reserved.