public/javascripts/yui/datatable/datatable-debug.js
function(oDataTable, elCell) {
    // Validate 
    if(oDataTable instanceof YAHOO.widget.DataTable) {
        this._oDataTable = oDataTable;
        
        // Validate cell
        elCell = oDataTable.getTdEl(elCell);
        if(elCell) {
            this._elTd = elCell;

            // Validate Column
            var oColumn = oDataTable.getColumn(elCell);
            if(oColumn) {
                this._oColumn = oColumn;
                
                // Validate Record
                var oRecord = oDataTable.getRecord(elCell);
                if(oRecord) {
                    this._oRecord = oRecord;
                    var value = oRecord.getData(this.getColumn().getField());
                    this.value = (value !== undefined) ? value : this.defaultValue;
                    return true;
                }
            }            
        }
    }
    YAHOO.log("Could not attach CellEditor","error",this.toString());
    return false;
}
function(oDataTable, elCell) {
    // Validate 
    if(oDataTable instanceof YAHOO.widget.DataTable) {
        this._oDataTable = oDataTable;
        
        // Validate cell
        elCell = oDataTable.getTdEl(elCell);
        if(elCell) {
            this._elTd = elCell;

            // Validate Column
            var oColumn = oDataTable.getColumn(elCell);
            if(oColumn) {
                this._oColumn = oColumn;
                
                // Validate Record
                var oRecord = oDataTable.getRecord(elCell);
                if(oRecord) {
                    this._oRecord = oRecord;
                    var value = oRecord.getData(this.getColumn().getField());
                    this.value = (value !== undefined) ? value : this.defaultValue;
                    return true;
                }
            }            
        }
    }
    YAHOO.log("Could not attach CellEditor","error",this.toString());
    return false;
}
function ( oDataTable , elCell ) { // Validate  if ( oDataTable instanceof YAHOO . widget . DataTable ) { this . _oDataTable = oDataTable ; // Validate cell elCell = oDataTable . getTdEl ( elCell ) ; if ( elCell ) { this . _elTd = elCell ; // Validate Column var oColumn = oDataTable . getColumn ( elCell ) ; if ( oColumn ) { this . _oColumn = oColumn ; // Validate Record var oRecord = oDataTable . getRecord ( elCell ) ; if ( oRecord ) { this . _oRecord = oRecord ; var value = oRecord . getData ( this . getColumn ( ) . getField ( ) ) ; this . value = ( value !== undefined ) ? value : this . defaultValue ; return true ; } } } } YAHOO . log ( "Could not attach CellEditor" , "error" , this . toString ( ) ) ; return false ; }
Attach CellEditor for a new interaction.

@method attach
@param oDataTable {YAHOO.widget.DataTable} Associated DataTable instance.
@param elCell {HTMLElement} Cell to edit.
Attach CellEditor for a new interaction .