public/javascripts/yui/datatable/datatable.js
function() {
    this._destroyResizeableColumns();
    if(util.DD) {
        var oColumn, elTh, elThLiner, elThResizerLiner, elThResizer, elResizerProxy, cancelClick;
        for(var i=0, len=this._oColumnSet.keys.length; i<len; i++) {
            oColumn = this._oColumnSet.keys[i];
            if(oColumn.resizeable) {
                elTh = oColumn.getThEl();
                Dom.addClass(elTh, DT.CLASS_RESIZEABLE);
                elThLiner = oColumn.getThLinerEl();
                
                // Bug 1915349: So resizer is as tall as TH when rowspan > 1
                // Create a separate resizer liner with position:relative
                elThResizerLiner = elTh.appendChild(document.createElement("div"));
                elThResizerLiner.className = DT.CLASS_RESIZERLINER;
                
                // Move TH contents into the new resizer liner
                elThResizerLiner.appendChild(elThLiner);
                
                // Create the resizer
                elThResizer = elThResizerLiner.appendChild(document.createElement("div"));
                elThResizer.id = elTh.id + "-resizer"; // Needed for ColumnResizer
                elThResizer.className = DT.CLASS_RESIZER;
                oColumn._elResizer = elThResizer;

                // Create the resizer proxy, once globally
                elResizerProxy = DT._initColumnResizerProxyEl();
                oColumn._ddResizer = new YAHOO.util.ColumnResizer(
                        this, oColumn, elTh, elThResizer, elResizerProxy);
                cancelClick = function(e) {
                    Ev.stopPropagation(e);
                };
                Ev.addListener(elThResizer,"click",cancelClick);
            }
        }
    }
    else {
    }
}
function() {
    this._destroyResizeableColumns();
    if(util.DD) {
        var oColumn, elTh, elThLiner, elThResizerLiner, elThResizer, elResizerProxy, cancelClick;
        for(var i=0, len=this._oColumnSet.keys.length; i<len; i++) {
            oColumn = this._oColumnSet.keys[i];
            if(oColumn.resizeable) {
                elTh = oColumn.getThEl();
                Dom.addClass(elTh, DT.CLASS_RESIZEABLE);
                elThLiner = oColumn.getThLinerEl();
                
                // Bug 1915349: So resizer is as tall as TH when rowspan > 1
                // Create a separate resizer liner with position:relative
                elThResizerLiner = elTh.appendChild(document.createElement("div"));
                elThResizerLiner.className = DT.CLASS_RESIZERLINER;
                
                // Move TH contents into the new resizer liner
                elThResizerLiner.appendChild(elThLiner);
                
                // Create the resizer
                elThResizer = elThResizerLiner.appendChild(document.createElement("div"));
                elThResizer.id = elTh.id + "-resizer"; // Needed for ColumnResizer
                elThResizer.className = DT.CLASS_RESIZER;
                oColumn._elResizer = elThResizer;

                // Create the resizer proxy, once globally
                elResizerProxy = DT._initColumnResizerProxyEl();
                oColumn._ddResizer = new YAHOO.util.ColumnResizer(
                        this, oColumn, elTh, elThResizer, elResizerProxy);
                cancelClick = function(e) {
                    Ev.stopPropagation(e);
                };
                Ev.addListener(elThResizer,"click",cancelClick);
            }
        }
    }
    else {
    }
}
function ( ) { this . _destroyResizeableColumns ( ) ; if ( util . DD ) { var oColumn , elTh , elThLiner , elThResizerLiner , elThResizer , elResizerProxy , cancelClick ; for ( var i = 0 , len = this . _oColumnSet . keys . length ; i < len ; i ++ ) { oColumn = this . _oColumnSet . keys [ i ] ; if ( oColumn . resizeable ) { elTh = oColumn . getThEl ( ) ; Dom . addClass ( elTh , DT . CLASS_RESIZEABLE ) ; elThLiner = oColumn . getThLinerEl ( ) ; // Bug 1915349: So resizer is as tall as TH when rowspan > 1 // Create a separate resizer liner with position:relative elThResizerLiner = elTh . appendChild ( document . createElement ( "div" ) ) ; elThResizerLiner . className = DT . CLASS_RESIZERLINER ; // Move TH contents into the new resizer liner elThResizerLiner . appendChild ( elThLiner ) ; // Create the resizer elThResizer = elThResizerLiner . appendChild ( document . createElement ( "div" ) ) ; elThResizer . id = elTh . id + "-resizer" ; // Needed for ColumnResizer elThResizer . className = DT . CLASS_RESIZER ; oColumn . _elResizer = elThResizer ; // Create the resizer proxy, once globally elResizerProxy = DT . _initColumnResizerProxyEl ( ) ; oColumn . _ddResizer = new YAHOO . util . ColumnResizer ( this , oColumn , elTh , elThResizer , elResizerProxy ) ; cancelClick = function ( e ) { Ev . stopPropagation ( e ) ; } ; Ev . addListener ( elThResizer , "click" , cancelClick ) ; } } } else { } }
Initializes resizeability on key Column TH elements.

@method _initResizeableColumns
@private
Initializes resizeability on key Column TH elements .