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 html5 ui library and page of datagrid in html5 product.