how can i do to give background color to the headers using alasql? -


what right key word give header bgcolor ?
window.exportexcel = function exportexcel(listpersone) { var filename=prompt(); var opts = { headers:true, style:'background:#00ff00', //doesn't work column: {style:{font:{bold:"1"}}}, rows: {1:{style:{font:{color:"#ff0077"}}}}, cells: {1:{1:{ style: {font:{color:"#00ffff"}} }}} }; alasql('select * xlsxml("'+filename+'.xls",?) ?',[opts,listpersone ]); }

example

this solution give header background color !

var opts = {               headers:true,                column: {                   style:{                       font:{                           bold:"1",                           color:"#3c3741",                       },                       alignment:{                           horizontal:"center"                       },                       interior:{                           color:"#7ceece",                           pattern:"solid"                       }                   },               }, 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -