-
Notifications
You must be signed in to change notification settings - Fork 851
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
Scrolling table with fixed headers #41
Comments
No, i don't know how do this and i haven't plan do this feature. It is not easy functionality |
+1, this functionality would make ngTables so incredible compared to ng-grid or others that try to do the same. |
I am specifically looking for this feature. I found an (ugly) way to make it work with ng-grid. Angular-table supports it out of the box. |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I've implemented this using a jquery plugin (https://github.com/jmosbech/StickyTableHeaders). There is a plunkr here: http://plnkr.co/edit/KyilXo?p=preview |
+1 |
6 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Definitely +1 on this |
+1 |
1 similar comment
+1 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I'm using angular js ng-table to display some information. I would like to make the header of the ng-table fixed with scroll bar.Moreover I need to place one accordion just before the ng-table. When I collapse the accordion my ng-table fixed header does not work properly. Please refer plunker I have created : http://plnkr.co/edit/FGjU46cCMuhIdyacffHl?p=preview |
+1 |
Resolved with accordain ... Demo 👍 http://plnkr.co/edit/D5XxfgH79bR2wVDhPlku?p=preview |
The plugin works fine for keeping the header in place, but when resizing the page, the header retains the same width until the page is refreshed or the table is scrolled back to the top. When looking at the accordion plunker, when i scroll down in the table and resize the page width, the header keeps the same size it had as when the page wasn't resized. http://plnkr.co/edit/FGjU46cCMuhIdyacffHl?p=preview |
+1 |
2 similar comments
+1 |
+1 |
Whoever find this, use https://github.com/jmosbech/StickyTableHeaders works out of the box with this directive:
|
here is an approach with pure css
|
Something like this: http://www.imaputz.com/cssStuff/bigFourVersion.html
I've looked at a lot of different discussions about how to accomplish this, either through plug-ins or using CSS, but so far nothing I've found has worked quite how I would like it. My primary problem with the CSS approach is that having to apply the
display: block;
property breaks the formatting of the table, making it look ugly and unable to resize with the window. Is this a feature you've ever considered adding to ng-table? If not, do you know of the best way I can achieve this?The text was updated successfully, but these errors were encountered: