How can I change the header background color in an AgGrid table for specific columns only?

I can use GridOptionsBuilder to change the color of cells, but not the header.

gb = GridOptionsBuilder()

gb.configure_column(field=“Name”, width=100, cellStyle = {“background”: “red”}, )

go =

AgGrid(df, gridOptions = go, width=400)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.