Repository navigation
feat: hide and pin columns - #34
Open
SyedSibtainRazvi wants to merge 3 commits into
Open
SyedSibtainRazvi wants to merge 3 commits into
SyedSibtainRazvi wants to merge 3 commits into
Conversation
SyedSibtainRazvi
force-pushed
the
feat/column-hiding-pinning
branch
2 times, most recently
from
December 3, 2026 12:16
0e601ed to
0851fbc
Compare
Register TanStack's column pinning and keep start-pinned columns in view with sticky cells. Add enableColumnHiding and enableColumnPinning, which give each header a menu to pin, unpin or hide its column, and SheetColumnsMenu, a checklist to show hidden columns again.
SyedSibtainRazvi
force-pushed
the
feat/column-hiding-pinning
branch
from
December 3, 2026 12:24
0851fbc to
633ab35
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Etiquettes of raising a PR
PR reviews are a way to request peers to give feedback on the code that is going
to the mainline. This means, that PR should be in a reviewable state. Please ensure
that the following checkboxes are ticked. If any of them are not ticked, then
the PR is not ready for review
Related issue
Functionalities added or changed
enableColumnHidingandenableColumnPinningonSheetgive each header a "…" menu with Pin column, Unpin column and Hide column. Both are off by default.SheetColumnsMenu: a new export. It's a "Columns" button with a checklist that shows hidden columns again, for the app's own toolbar.columnPinningFeatureis now registered.getVisibleLeafColumns()ignores pinning order, while the headers and cells follow it. The grid tracks are now built from the start, center and end lists, so the widths land on the right columns.--sheet-row-tint, registered instyles.css. Pinned cells paint it over an opaque background, so the columns scrolling underneath don't show through.Additional info
SheetColumnsMenu, a column withheader: ''shows an empty label.tsc --buildall pass.Checklist
Screenshots
Page(s) if applicable
See the "Sorting and row actions" demo in the playground. Narrow the window, then scroll sideways.