moveColumn

moves column to different position

void moveColumn(string id,number index);

Parameters

idstringsource column id
indexnumbertarget index

Example

//moves column "year" to first position
$$("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.