bcherny / angular-sticky-table-header Goto Github PK
View Code? Open in Web Editor NEWSticky headers for tables
License: Apache License 2.0
Sticky headers for tables
License: Apache License 2.0
To reproduce:
Expected: Sticky header disappears when scrolling past its initial location
Actual: Sticky header persists
I enjoyed the component, but to run, I had to add the line:
on: function () {
scope.observeTr();
scope.addEvents();
scope.resetClone(); // Without this, the first clone is not done.
},
The other events are ok, resize, changing table, only the bootstrap component, at least for me did not happen as it should.
It would be a bug?
Hugs
When table has many, many columns, the web application lags while scrolling when the header sticks/unsticks.
When the parent where the sticky-table-header is included, is given a fixed width, the header comes out of the parent as the sticky-header gets positioned to "position: fixed" when user starts scrolling.
When the width of the sticky-header[ Lets say 1800px ] is more than the width assigned to the parent[ 1600px ] ,the sticky-header spills out of the parent and breaks the UI.
It works absolutely fine when the width of the parent is not fixed to some numbers[100%], but when the parent is given some width, it tends to break.
To reproduce:
This may be related to or the same bug as issue #31
Actual: If a table has a width of 500px but the container has a width of 1000px, the header will be 1000px wide instead of 500px.
Expected: Header should be 500px wide
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.