ng-sticky-header
v1.0.0
Published
AngularJS directive to freeze header of table on the container top
Downloads
20
Readme
sticky-header
Angular directive to freeze header of table on the container top. Includes possibility to resize columns.
Installing via bower
bower install ng-sticky-header
Installing via npm
npm install ng-sticky-header --save
Using
It has two required directives:
sticky-viewer
should be set to container which has limited height and causes scroll event on table.sticky-header
is set to table element whose header need be sticky.
<div sticky-viewer>
<table sticky-header>
...
</table>
</div>
Demo
http://codepen.io/titov-max/pen/WxJYry
Build
Use command gulp build
to concat sources
Licence
Code licensed under MIT license