This is when using a view file to generate an excel file. like: in controller:
headers['Content-Type'] = "application/vnd.ms-excel"
headers['Content-Disposition'] = 'attachment; filename="report.xls"'
then in view:
<table><tr><td>foo</td><td>bar</td></tr><table>
Is it possible to add formatting such as color to cells? like:
<td style="background-color=red">foo</td>