Check documentation for the latest version of dhtmlxSuite moveColumn DHTMLX Docs

moveColumn

moves the column of the specified index to a new position

void moveColumn(number oldInd,number newInd);
oldIndnumberthe current index of column
newIndnumberthe index of the column, before which the moved column will be inserted

Available only in PRO Edition

Example

//put the 1st column before the 3rd column
myGrid.moveColumn(0,2);

Back to top