Blame view

public/assets/libs/bootstrap-table/src/extensions/page-jumpto/README.md 914 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
25
26
27
28
29
30
31
32
  # Table Jump-to
  
  ## Usage
  
  ```html
  <link rel="stylesheet" href="extensions/page-jumpto/bootstrap-table-jumpto.css"></style>
  <script src="extensions/page-jumpto/bootstrap-table-jumpto.js"></script>
  ```
  
  ## Options
  
  ### showJumpto
  
  * type: Boolean
  * description: Set true to enable show 'jump to page'. can be defined via `data-show-jumpto` HTML attributes.
  * default: `false`
  * button style: can be styled via bootstrap-table buttonsClass attributes.
  
  ````html
  <table id="my_table_id"
    data-url="data/url.json"
    data-id-field="id"
    data-show-jumpto="true">
    <thead>
      <tr>
        <th class="col-md-1" data-field="id" data-sortable="true" data-align="center">#</th>
        <th class="col-md-4" data-field="name" data-editable="true">Name</th>
        <th class="col-md-7" data-field="description" data-editable="true" data-editable-emptytext="Custom empty text.">Description</th>
      </tr>
    </thead>
  </table>
  ````