Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sticky headers #5

Open
Reprevise opened this issue Aug 23, 2021 · 3 comments
Open

Add sticky headers #5

Reprevise opened this issue Aug 23, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@Reprevise
Copy link

Is your feature request related to a problem? Please describe.
When users scroll down they lose the descriptions of the columns.

Describe the solution you'd like
There should be an option to make the header sticky.

@Dev-Owl
Copy link
Owner

Dev-Owl commented Aug 25, 2021

That's a nice IDEA, I will look into this. Of course, pull requests are welcome to add this in.

@Dev-Owl Dev-Owl added the enhancement New feature or request label Aug 25, 2021
@Dev-Owl Dev-Owl added this to the 0.0.7 milestone Aug 25, 2021
@Dev-Owl Dev-Owl added the help wanted Extra attention is needed label Sep 6, 2021
@Dev-Owl
Copy link
Owner

Dev-Owl commented Oct 24, 2021

Had a look into the code, this would require to change the default data table to a custom implementation. It is doable but will require a bit more work.
As of today, Flutter uses a Table that holds all rows. The header is just the row at index zero. The required change would be to move the header row out of the table. I still think it's a good idea but have to move it to a later release.

Again, feel free to fork and change this any pull requests are very welcome :)

@Dev-Owl Dev-Owl modified the milestones: 0.0.7, 0.0.8 Oct 24, 2021
@lublak
Copy link

lublak commented Jun 20, 2023

also a sticky footer would be nice @Dev-Owl
Currently you only can scroll with: SingleChildScrollView
But it could help if its implemented in the table self.
So you can scroll the rows but not the header and footer (with the pagination buttons)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants