Color to st.data_editor

How do I put a color and/or background to st.data_editor?

data_editor = st.data_editor(
        paginated_data,
        key=f'data_editor_unique_key_{key}',
        disabled=["widgets"],
        hide_index=True,
        column_config=column_config,
        # width= 3000
    )

Schermata del 2023-12-06 10-23-47

Hi @valeriofiorentini

There’s a related forum post here that describes a similar issue:

Particularly, this reply in the post notes that st.data_editor is partly compatible with Pandas styler:

And that styling should also be applied on edited dataframes.

Hope this helps!

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