public/javascripts/yui/datatable/datatable.js
function () {
    // Initialize Column sort
    this._initColumnSort();
        
    // Add the document level click listener
    YAHOO.util.Event.addListener(document, "click", this._onDocumentClick, this);

    // Paginator integration
    this.subscribe("paginatorChange",function () {
        this._handlePaginatorChange.apply(this,arguments);
    });

    this.subscribe("initEvent",function () {
        this.renderPaginator();
    });

    // Initialize CellEditor integration
    this._initCellEditing();
}
function () {
    // Initialize Column sort
    this._initColumnSort();
        
    // Add the document level click listener
    YAHOO.util.Event.addListener(document, "click", this._onDocumentClick, this);

    // Paginator integration
    this.subscribe("paginatorChange",function () {
        this._handlePaginatorChange.apply(this,arguments);
    });

    this.subscribe("initEvent",function () {
        this.renderPaginator();
    });

    // Initialize CellEditor integration
    this._initCellEditing();
}
function ( ) { // Initialize Column sort this . _initColumnSort ( ) ; // Add the document level click listener YAHOO . util . Event . addListener ( document , "click" , this . _onDocumentClick , this ) ; // Paginator integration this . subscribe ( "paginatorChange" , function ( ) { this . _handlePaginatorChange . apply ( this , arguments ) ; } ) ; this . subscribe ( "initEvent" , function ( ) { this . renderPaginator ( ) ; } ) ; // Initialize CellEditor integration this . _initCellEditing ( ) ; }
Initialize internal event listeners

@method _initEvents
@private
Initialize internal event listeners