Skip to content

Show table with merged cells #10151

@mtst238

Description

@mtst238

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

For non-editable columns in st.dataframe or st.data_editor I want to display merged cells like the empty cells in the image above.
I want to merge any columns (not necessarily all rows) or any rows (not necessarily all columns).
It's ok if they are separated on selection like in the image below.

merge
merge2

Why?

It's just to improve the readability of the table.
But this is very necessary as I want to continue using Streamlit in the future.

How?

It's fine to just remove the separator color for the specified coordinates.
But I can't come up with a concise way to specify the coordinates.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.dataframeRelated to the `st.dataframe` elementfeature:st.tableRelated to the `st.table` elementtype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions