corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | # Table sticky-header |
2 | |||
3 | This is an extension for [Bootstrap table](http://github.com/wenzhixin/bootstrap-table) module which provides a sticky header for the table when scrolling. </br> |
||
4 | You must include the bootstrap-table-sticky-header.css file in order to get the appropriate style |
||
5 | |||
6 | ## Usage |
||
7 | |||
8 | ```html |
||
9 | <script src="extensions/sticky-header/bootstrap-table-sticky-header.js"></script> |
||
10 | ``` |
||
11 | |||
12 | ## Options |
||
13 | |||
14 | ### stickyHeader |
||
15 | |||
16 | * type: Boolean |
||
17 | * description: Set true to use sticky header. |
||
18 | * default: `false` |
||
19 | |||
20 | ### stickyHeaderOffsetY |
||
21 | |||
22 | * type: String |
||
23 | * description: Set the Y offset from the top of the window to pin the sticky header. If there is a fixed navigation bar with a height of 60px, this value would be `60px`. |
||
24 | * default: `undefined` |