AngularJS directive to freeze header of table on the container top. Includes possibility to resize columns.
bower install ng-sticky-header --save
npm i ng-sticky-header
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>
http://codepen.io/titov-max/pen/WxJYry
Use command gulp build
to concat sources
Code licensed under MIT license