Add sticky headers
Reprevise opened this issue · comments
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.
That's a nice IDEA, I will look into this. Of course, pull requests are welcome to add this in.
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 :)