Skip to content

Conversation

@bprusinowski
Copy link
Collaborator

@bprusinowski bprusinowski commented Jan 20, 2026

Closes #2456

This PR introduces a "Responsive column widths" checkbox to table charts to be able to shrink their widths. Before this PR, columns were always taking either the width of the header, or maximum width of any value inside it; now there's an option to make the table try to "fit" all columns in the container.

How to test

  1. Go to this link.
  2. Switch to a table chart.
  3. ✅ See that there's a Responsive column widths checkbox in the Table Options section.
  4. ✅ Enable it and see that the column widths have been reduced to make the table fit all columns at once. There's a built-in minimum column width to make sure they do not shrink indefinitely (e.g. on mobile).
  5. ✅ See that it's possible to see the full column names by holding a cursor over the headers (native browser tooltip) or by clicking on it (Details drawer).
  6. ✅ Publish the chart and scroll the content a bit to see text ellipsis in the Kanton column itself (Appenzell Ausserr...).

  • I added a CHANGELOG entry
  • I made a self-review of my own code
  • I wrote configurator and chart config migrations

@vercel
Copy link
Contributor

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
visualization-tool Ready Ready Preview, Comment Jan 21, 2026 1:31pm

Request Review

@bprusinowski bprusinowski changed the title feat: Add a way to limit table column widths feat: Add a way to make table columns responsive Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive Filters for Tables: Optimize Horizontal Size of Tables in cases with long text in cells

3 participants