Is there a way to style a specific header in an ag-grid array generated dynamically without directly manipulating the DOM? Specifically, I am working with a timeslot array and would like to highlight the current day.
I attempted using cellStyle but found that it only affects cells, not headers. Do you have any alternative suggestions?
Here is some sample code that generates the array:
this.tmpDefs = [{ headerName: '', field: 'user', width: 90, suppressSizeToFit: true }];
for(eachDay){
this.tmpDefs.push([Generated children here])
}
this.gridApi.setColumnDefs(this.tmpDefs);