code: 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();
      }
docs: Update the view when a header moves