[Feature Request] Allow fixed header in v-data-table to be positioned to the top of the page
Nobody has claimed this yet.
- 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:
- we want to show as much data as we can on screen
- 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
Proposed solution
Allow sticky headers to be positioned to the top of the page
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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