Hi, is it possible to define column name using variable? Something like this
var colName1 = …
var colName2 = …
webix.ui({
view:“datatable”,
id:“my_datatable”,
columns:[
{id: colName1, header: colName1},
{id: colName2, header: colName2}
]})
Thanks a lot!