Required library edition: Required library file: dhtmlxgrid_mcol.js
moves column of specified index to new position
//move 1st column before 3rd column mygrid.mygrid.moveColumn(0,2);
See also: moveRow, enableColumnMove