Ag-grid Independent Header height adjustment

Viewed 31

Is there a way to adjust the height of a specific column header in Ag-grid?

In the documentation Angular Data Grid: Column Headers it's stated that we can set the groupHeaderHeight (sets height of grouped headers) and headerHeight (sets the height of leaf headers), but both of these gridApi properties apply to either every column group header or every normal column header.

I couldn't find a way, even a hack, to adjust the height of one particular header. In my provided example below, I want to set the height dynamically only to Column Group 2. Currently, the only way I do that is using setGroupHeaderHeight, but consequently this also increases the height of Column Group 1, since the setter affects every column group. I don't want Column Group 1's height to change.

enter image description here

0 Answers
Related