public/javascripts/yui/datatable/datatable.js
function() {
    // Remove all rows from tracker
    var tracker = this._aSelections || [],
        recId,
        removed = [];
    for(var j=tracker.length-1; j>-1; j--) {
       if(lang.isString(tracker[j])){
            recId = tracker.splice(j,1);
            removed[removed.length] = this.getRecord(lang.isArray(recId) ? recId[0] : recId);
        }
    }

    // Update tracker
    this._aSelections = tracker;

    // Update UI
    this._unselectAllTrEls();

    this.fireEvent("unselectAllRowsEvent", {records: removed});
}
function() {
    // Remove all rows from tracker
    var tracker = this._aSelections || [],
        recId,
        removed = [];
    for(var j=tracker.length-1; j>-1; j--) {
       if(lang.isString(tracker[j])){
            recId = tracker.splice(j,1);
            removed[removed.length] = this.getRecord(lang.isArray(recId) ? recId[0] : recId);
        }
    }

    // Update tracker
    this._aSelections = tracker;

    // Update UI
    this._unselectAllTrEls();

    this.fireEvent("unselectAllRowsEvent", {records: removed});
}
function ( ) { // Remove all rows from tracker var tracker = this . _aSelections || [ ] , recId , removed = [ ] ; for ( var j = tracker . length - 1 ; j > - 1 ; j -- ) { if ( lang . isString ( tracker [ j ] ) ) { recId = tracker . splice ( j , 1 ) ; removed [ removed . length ] = this . getRecord ( lang . isArray ( recId ) ? recId [ 0 ] : recId ) ; } } // Update tracker this . _aSelections = tracker ; // Update UI this . _unselectAllTrEls ( ) ; this . fireEvent ( "unselectAllRowsEvent" , { records : removed } ) ; }
Clears out all row selections.

@method unselectAllRows
Clears out all row selections .