moveColumn

moves a column to different position

void moveColumn(string id,number index);
idstringthe source column id
indexnumberthe target index

Example

//makes the "year" column first
$$("mytable").moveColumn("year", 0);

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js framework and page of javascript excel reader product.