primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Sticky Column Headers

Open smitpsanghavi opened this issue 9 years ago • 3 comments

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Expected behavior The headers should be sticky and should be visible even if we have scrolled down and the headers are outside the viewport.

Minimal reproduction of the problem with instructions Existing implementation in PrimeUI : https://www.primefaces.org/primeui/#datatableSticky

What is the motivation / use case for changing the behavior? Makes it easier to view datasets which go all the way down. Specifically useful for virtual scrolling.

smitpsanghavi avatar Oct 13 '17 11:10 smitpsanghavi

According to this excellent article Design better data tables sticky headers is a basic requirement for good UX

pantonis avatar Nov 14 '17 07:11 pantonis

Possibly make sticky directive that could be applied to any set of elements. (navigation menues, table row, etc.)

markleppke avatar Feb 28 '18 20:02 markleppke

Stick is available since PrimeNG 7

smitpsanghavi avatar Mar 21 '20 14:03 smitpsanghavi