Blame view

public/assets/libs/bootstrap-table/src/extensions/sticky-header/README.md 735 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  # 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`