I am exporting an array to xls using alasql. It seems header:true or header:false has no effect on showing or not showing the headers. In my case I want to show the headers, but I want them to be bold. This is what I am using, but it is not working. Can you give me some advice please?
data = [{enddata : "2016-07-12", lc-type : "Ingredient", order :"2057207"}, {enddata : "2016-07-12", lc-type : "Ingredient", order :"2057208"}];
var opts = [{sheetid:'LCList',header:true, column: {style:{Font:{Bold:"1"}}}}];
var res = alasql('SELECT INTO XLSX("LCList.xlsx",?) FROM ?',[opts,[data]]);