Documentation

moveColumn

moves column to different position

void moveColumn(string id,number index);

Parameters

idstringsource column id
indexnumbertarget index

See also

Example

//moves column "year" to first position
$$("mytable").moveColumn("year", 0);

Back to top