YUI recommends YUI 3.

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

Yahoo! UI Library

DataTable Widget  2.7.0

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

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.

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


Copyright © 2009 Yahoo! Inc. All rights reserved.