You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
735 B
Plaintext
25 lines
735 B
Plaintext
# Table sticky-header
|
|
|
|
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>
|
|
You must include the bootstrap-table-sticky-header.css file in order to get the appropriate style
|
|
|
|
## Usage
|
|
|
|
```html
|
|
<script src="extensions/sticky-header/bootstrap-table-sticky-header.js"></script>
|
|
```
|
|
|
|
## Options
|
|
|
|
### stickyHeader
|
|
|
|
* type: Boolean
|
|
* description: Set true to use sticky header.
|
|
* default: `false`
|
|
|
|
### stickyHeaderOffsetY
|
|
|
|
* type: String
|
|
* 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`.
|
|
* default: `undefined`
|