vuetifyjs / vuetifyjs/vuetify

[Feature Request] Allow fixed header in v-data-table to be positioned to the top of the page

Open
#20,529 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T: feature
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Problem to solve

Current implementation of fixed headers allows only to have fixed headers on a table with defined height. Then headers are positioned to the top of the table. For tables with a big amount of data that are the only content on a given view its not a good solution beacause:

  1. we want to show as much data as we can on screen
  2. setting table height to be big enough (for example "100vh") cause two scrolls to appear, one for page the other for the table, which looks bad

Reproduction link

Proposed solution

Allow sticky headers to be positioned to the top of the page

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction and the v-data-table fixed-header behavior. Trace how sticky headers currently depend on a defined table height and identify the component entry point that controls their position. Done means headers can remain at the top of the page without requiring a fixed table height or creating nested page and table scrollbars.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.