Skip to content

Issue #7891 : Add named table views to TableView - #7946

Open
mattcasters wants to merge 1 commit into
apache:mainfrom
mattcasters:issue-7891
Open

Issue #7891 : Add named table views to TableView#7946
mattcasters wants to merge 1 commit into
apache:mainfrom
mattcasters:issue-7891

Conversation

@mattcasters

Copy link
Copy Markdown
Contributor

What

Adds named, reusable table views on TableView so wide preview grids (and other table grids) can show a subset of columns in a chosen order.

  • New toolbar button (view icon), row context menu, and column-header menu
  • Dialog to create / rename / delete / apply / save views
  • Apply hides unused columns in place (setWidth(0)); cell data stays in the original columns
  • Show all columns restores the full table
  • Header hide and desktop header drag-and-drop; optWidth no longer unhides hidden columns
  • Views are stored per project in the active AuditManager (table-view) and matched by column name
  • User manual: preview page, configuration perspective, and pro tips

Why

#7891

Previewing transforms with many fields makes it hard to compare distant columns. Named views give a reusable way to hide and reorder columns without changing the pipeline or the data.

How to test

  1. Preview a transform that outputs many columns
  2. Click the view icon on the table toolbar
  3. Create a view, pick a few columns, Save, Apply
  4. Confirm hidden columns stay hidden after more rows load (optWidth)
  5. Show all columns, then apply the saved view again
  6. Reopen preview later and apply the same view on a table that has those field names

Fixes #7891

Allow users to define reusable named column subsets and order on
preview grids and other TableView instances. Views are applied
in-place by hiding unused columns, persisted in the active
AuditManager, and documented in the user manual.

Fixes apache#7891
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Column management in Preview

1 participant