public/javascripts/yui/datatable/datatable-debug.js
function(row) {
    var elRow = this.getTrEl(row);

    if(elRow) {
        // Make sure previous row is unhighlighted
/*        if(this._sLastHighlightedTrElId) {
            Dom.removeClass(this._sLastHighlightedTrElId,DT.CLASS_HIGHLIGHTED);
        }*/
        var oRecord = this.getRecord(elRow);
        Dom.addClass(elRow,DT.CLASS_HIGHLIGHTED);
        //this._sLastHighlightedTrElId = elRow.id;
        this.fireEvent("rowHighlightEvent", {record:oRecord, el:elRow});
        YAHOO.log("Highlighted " + elRow, "info", this.toString());
        return;
    }
    YAHOO.log("Could not highlight row " + row, "warn", this.toString());
}
function(row) {
    var elRow = this.getTrEl(row);

    if(elRow) {
        // Make sure previous row is unhighlighted
/*        if(this._sLastHighlightedTrElId) {
            Dom.removeClass(this._sLastHighlightedTrElId,DT.CLASS_HIGHLIGHTED);
        }*/
        var oRecord = this.getRecord(elRow);
        Dom.addClass(elRow,DT.CLASS_HIGHLIGHTED);
        //this._sLastHighlightedTrElId = elRow.id;
        this.fireEvent("rowHighlightEvent", {record:oRecord, el:elRow});
        YAHOO.log("Highlighted " + elRow, "info", this.toString());
        return;
    }
    YAHOO.log("Could not highlight row " + row, "warn", this.toString());
}
function ( row ) { var elRow = this . getTrEl ( row ) ; if ( elRow ) { // Make sure previous row is unhighlighted /*        if(this._sLastHighlightedTrElId) {
            Dom.removeClass(this._sLastHighlightedTrElId,DT.CLASS_HIGHLIGHTED);
        }*/ var oRecord = this . getRecord ( elRow ) ; Dom . addClass ( elRow , DT . CLASS_HIGHLIGHTED ) ; //this._sLastHighlightedTrElId = elRow.id; this . fireEvent ( "rowHighlightEvent" , { record : oRecord , el : elRow } ) ; YAHOO . log ( "Highlighted " + elRow , "info" , this . toString ( ) ) ; return ; } YAHOO . log ( "Could not highlight row " + row , "warn" , this . toString ( ) ) ; }
Assigns the class YAHOO.widget.DataTable.CLASS_HIGHLIGHTED to the given row.

@method highlightRow
@param row {HTMLElement | String} DOM element reference or ID string.
Assigns the class YAHOO . widget . DataTable . CLASS_HIGHLIGHTED to the given row .