Skip to content

docs(VDataTable): note fixed-header requires height#22991

Open
n0liu wants to merge 1 commit into
vuetifyjs:masterfrom
n0liu:docs/data-table-fixed-header-height
Open

docs(VDataTable): note fixed-header requires height#22991
n0liu wants to merge 1 commit into
vuetifyjs:masterfrom
n0liu:docs/data-table-fixed-header-height

Conversation

@n0liu

@n0liu n0liu commented Jul 6, 2026

Copy link
Copy Markdown

Description

The fixed-header prop on VDataTable has no visible effect unless a height is also set — without a constrained scroll container there is nothing for the header to stay fixed against. This is an easy point of confusion (see #20201), and the Data table docs never mentioned it, even though the base VTable docs already do.

This adds a Fixed header subsection under the Data table Props section that mirrors the existing VTable wording, plus a ::: warning callout that makes the height requirement explicit.

Documentation-only change — no component or behavior changes.

resolves #20201

The fixed-header prop has no effect unless a height is also set, which
is a common point of confusion. Mirror the hint already present in the
VTable docs so VDataTable users know both props are needed.

resolves vuetifyjs#20201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][3.6.13] Table headers are not fixed without height (docs should show a clear hint)

1 participant