Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Dec 17, 2024

Describe your changes

Fix the display of hierarchical column headers if the last header level is empty.

Before:

image

After:

image

GitHub Issue Link (if applicable)

Testing Plan

  • Update e2e test

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@lukasmasuch lukasmasuch added security-assessment-completed Security assessment has been completed for PR change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels Dec 17, 2024
@lukasmasuch lukasmasuch marked this pull request as ready for review December 17, 2024 14:08
@lukasmasuch lukasmasuch enabled auto-merge (squash) December 17, 2024 20:09
@lukasmasuch lukasmasuch merged commit 20502d2 into develop Dec 17, 2024
32 checks passed
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
## Describe your changes

Fix the display of hierarchical column headers if the last header level
is empty.

Before:


![image](https://github.com/user-attachments/assets/17fb4c4e-c7ce-4a2a-b444-b8e147193ea8)

After:


![image](https://github.com/user-attachments/assets/0d3dbc9a-4325-447b-8623-ff76a6d47c1b)

## GitHub Issue Link (if applicable)

- Closes streamlit#9749

## Testing Plan

- Update e2e test

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
@lukasmasuch lukasmasuch deleted the fix/empty-hierachical-column-headers-handling branch March 5, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-index column headers empty when 2nd level contains an empty string

3 participants