Styling Tabulator header

Hi, I’m looking for a way to change the foreground and background color of a Tabulator column header. I’ve tried different combinations of the 2 calls below but have not found a way that works. Any idea please?

grid.style.applymap_index(highlightHeader2, axis=1)

grid.style.set_table_styles([
                    {   "selector":".tabulator-col-content",
                        "props": [("background-color", "dodgerblue"), ("color", "white"),
                                    ("border", "3px solid red"),
                        ]
                    },
                ])

Thanks,
Andy

1 Like

Hi @andyGxd

Could you provide a minimum, reproducible example? It will help the community find a solution that works for your use case. And also avoid having to spend time on putting together an example to begin with.

Thanks.