function(headerCt, header, colsToMove, fromIdx, toIdx) {
        var me = this;

        // If there are Features or Plugins which create DOM which must match column order, they set the optimizedColumnMove flag to false.
        // In this case we must refresh the view on column move.
        if (me.optimizedColumnMove === false) {
            me.view.refresh();
        }

        // Simplest case for default DOM structure is just to swap the columns round in the view.
        else {
            me.view.moveColumn(fromIdx, toIdx, colsToMove);
        }
        me.delayScroll();
    }
function(headerCt, header, colsToMove, fromIdx, toIdx) {
        var me = this;

        
        
        if (me.optimizedColumnMove === false) {
            me.view.refresh();
        }

        
        else {
            me.view.moveColumn(fromIdx, toIdx, colsToMove);
        }
        me.delayScroll();
    }
function ( headerCt , header , colsToMove , fromIdx , toIdx ) { var me = this ; // If there are Features or Plugins which create DOM which must match column order, they set the optimizedColumnMove flag to false. // In this case we must refresh the view on column move. if ( me . optimizedColumnMove === false ) { me . view . refresh ( ) ; } // Simplest case for default DOM structure is just to swap the columns round in the view. else { me . view . moveColumn ( fromIdx , toIdx , colsToMove ) ; } me . delayScroll ( ) ; }
Update the view when a header moves
Update the view when a header moves