Hi TraTech
Yes there is a workaround.
Step1: First export to js workbook.
Step 2: replace string color values with hex values in the workbook.
Step 3: export to xlsx.
listener: function() {
var colors = {
red: '#FF0000',
yellow: '#FFFF00',
green: '#00FF00',
blue: '#0000FF'
}
var wb = this.exportExcel({workbook: true});
pq.excel.eachCell(wb.sheets, function( cell, ci, ri, si ){
//do something with each cell.
cell.color = colors[cell.color] || cell.color;
});
var blob = pq.excel.exportExcel({workbook: wb, type: 'blob'});
saveAs(blob, "pqGrid.xlsx" );
}
Hope it helps.