mattcasters opened a new pull request, #7946:
URL: https://github.com/apache/hop/pull/7946

   ## 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
   
   https://github.com/apache/hop/issues/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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to