public/javascripts/yui/datatable/datatable.js
function(e, oSelf) {
    if(ua.opera || (navigator.userAgent.toLowerCase().indexOf("mac") !== -1) && (ua.webkit < 420)) {
        var nKey = Ev.getCharCode(e);
        // arrow down
        if(nKey == 40) {
            Ev.stopEvent(e);
        }
        // arrow up
        else if(nKey == 38) {
            Ev.stopEvent(e);
        }
    }
}
function(e, oSelf) {
    if(ua.opera || (navigator.userAgent.toLowerCase().indexOf("mac") !== -1) && (ua.webkit < 420)) {
        var nKey = Ev.getCharCode(e);
        // arrow down
        if(nKey == 40) {
            Ev.stopEvent(e);
        }
        // arrow up
        else if(nKey == 38) {
            Ev.stopEvent(e);
        }
    }
}
function ( e , oSelf ) { if ( ua . opera || ( navigator . userAgent . toLowerCase ( ) . indexOf ( "mac" ) !== - 1 ) && ( ua . webkit < 420 ) ) { var nKey = Ev . getCharCode ( e ) ; // arrow down if ( nKey == 40 ) { Ev . stopEvent ( e ) ; } // arrow up else if ( nKey == 38 ) { Ev . stopEvent ( e ) ; } } }
Handles keypress events on the TABLE. Mainly to support stopEvent on Mac.

@method _onTableKeypress
@param e {HTMLEvent} The key event.
@param oSelf {YAHOO.wiget.DataTable} DataTable instance.
@private
Handles keypress events on the TABLE . Mainly to support stopEvent on Mac .