YUI recommends YUI3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

This documentation is no longer maintained.

Yahoo! UI Library

DataTable Widget  2.9.0

Yahoo! UI Library > datatable > YAHOO.widget.TextareaCellEditor
Search:
 
Filters

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.

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.


Copyright © 2011 Yahoo! Inc. All rights reserved.