How can I center the text in the headers for an AG-grid control? I have tried using cellstyle and cellclass in the column definition but that did not work. Thank you
To use a custom class, add headerClass: "text-center" to the column definition and css as follows:
headerClass: "text-center"
text-center * { justifyContent: center }