You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a table wider than the window, scrolling right takes the identifying columns off screen. Only the row-number gutter stays put: features/data-grid.mdx (Copying) says it "stays at the left edge on a table wider than the window", and apple/TablePro/Views/Results/DataGridRowGutterView.swift:8 holds it there with NSScrollView.addFloatingSubview(_:for:). No data column can be held the same way, so on a 60-column table the id or email that tells one row from the next is gone by the time you reach the column you are checking.
The header menu (apple/TablePro/Views/Results/Extensions/DataGridView+Sort.swift:216) offers Hide Column, Size to Fit and Select Column, and the columns popover remembers widths, order and hidden columns per table, but nothing freezes a column.
Proposed solution
Freeze Up to This Column and Unfreeze Columns on the header menu. Frozen columns are the leading ones, from the first data column through the one chosen.
Frozen columns stay beside the row-number gutter while the rest scroll under them, with a divider at their trailing edge.
Selection, copy, cell editing, the cell cursor, Jump to Column and VoiceOver treat a frozen column like any other.
Remembered per table with widths, order and hidden columns, and cleared by Reset Columns.
Keep the drawn-cell grid's cost: frozen cells are drawn the way the gutter is, not mounted as views per row.
Done means the chosen leading columns stay in view at every horizontal scroll offset on a table and on a query result.
Alternatives considered
Drag the identifying column next to the one being read, or hide the columns in between.
Activity