public/javascripts/yui/datatable/datatable.js
function() {
    var aSelectedRows = [];
    var tracker = this._aSelections || [];
    for(var j=0; j<tracker.length; j++) {
       if(lang.isString(tracker[j])){
            aSelectedRows.push(tracker[j]);
        }
    }
    return aSelectedRows;
}
function() {
    var aSelectedRows = [];
    var tracker = this._aSelections || [];
    for(var j=0; j<tracker.length; j++) {
       if(lang.isString(tracker[j])){
            aSelectedRows.push(tracker[j]);
        }
    }
    return aSelectedRows;
}
function ( ) { var aSelectedRows = [ ] ; var tracker = this . _aSelections || [ ] ; for ( var j = 0 ; j < tracker . length ; j ++ ) { if ( lang . isString ( tracker [ j ] ) ) { aSelectedRows . push ( tracker [ j ] ) ; } } return aSelectedRows ; }
Returns selected rows as an array of Record IDs.

@method getSelectedRows
@return {String[]} Array of selected rows by Record ID.
Returns selected rows as an array of Record IDs .