Hello,
Given a regular grid that has grouping, how do I change the background color of that row on Excel Export? The following code does not work (meaning the original grey stays even though when you dump to console, the value has changed to yellow), but I can change the one cell that has the aggregate total.
excelAggregateQueryCellInfo: function (args){
console.log(args);
args.row.attributes.class = "";
args.style.style.backColor = '#FFFF00'; //This will change just the one cell
args.row.cells.forEach(function(row){
row.attributes.class = "";
row.attributes.style = {//Does not work
backColor: '#FFFF00',
fontSize: 13,
};
row.style = { //Does not work
backColor: '#FFFF00',
fontSize: 13,
};
});
},