moveColumn

moves the column of the specified index to a new position

void moveColumn(number oldInd,number newInd);

Parameters

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