Dataframe or aggrid color custom font and bg

I have a dataframe like below:

c1 c2 c3
success
in progress
failure

I need it to be transformed using st.dataframe or aggrid to soemthing like this:

c1 c2 c3
success
in progress
failure

screenshot attached

image

Please help any suggestions.
Thanks
Sai

Hi @Sai_SaiGraph, have a look at this post (Multi column headers - #4 by Erik_Candela_Rojas). Maybe, you can adapt it with some compromise.

You can also search on the forum on how to conditionally / manually colour aggrid cells.

Cheers

1 Like

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