SMART datagrid v.1 > Classes > GridBase
Create Column objects and return as array by using the value of config object which has been specified by parameter soruce.
var columns = DataLudi.GridBase.createColumns([{
name: 'colName',
filedName: 'fldName',
...
},
...
]);
grid.setColumns(columns);