feat: column picker/visibility toggle for large tables #40767
syncroniq-janthiart
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Most programs offer a column dropdown or picker menu when viewing large tables. While a chart editor can select which columns to add to a chart, read-only users, especially on embedded dashboards, are not so lucky as they can only ever see the full table. Tables with many columns can requiire horizontal scrolling, or they may look good on a large 4k screen but become a hassle on smaller ones.
Therefore, I would like to introduce a column visibility picker dropdown to the regular table chart (can of course be extended to other plugins as well, but would like to get a 👍 or 👎 first).
What this does
Demo:
column_picker_demo.mp4
Option must be enabled by chart editors:

Details
The change is very limited, only a couple of lines in TableChart + new component. The component is "persistent enough" (survives tab switches, does not survive reloads, recognizes updates to columns) and relies on visibility switches only - no cross-talk with any CSV downloads or similar kinds of functionality.
I would open a PR, but "discussion first" seems to be the go-to for new contributors. :)
https://github.com/syncroniq-janthiart/superset/tree/feat/user-column-selector-table
Beta Was this translation helpful? Give feedback.
All reactions