酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 914 B

3 years ago
1234567891011121314151617181920212223242526272829303132
  1. # Table Jump-to
  2. ## Usage
  3. ```html
  4. <link rel="stylesheet" href="extensions/page-jumpto/bootstrap-table-jumpto.css"></style>
  5. <script src="extensions/page-jumpto/bootstrap-table-jumpto.js"></script>
  6. ```
  7. ## Options
  8. ### showJumpto
  9. * type: Boolean
  10. * description: Set true to enable show 'jump to page'. can be defined via `data-show-jumpto` HTML attributes.
  11. * default: `false`
  12. * button style: can be styled via bootstrap-table buttonsClass attributes.
  13. ````html
  14. <table id="my_table_id"
  15. data-url="data/url.json"
  16. data-id-field="id"
  17. data-show-jumpto="true">
  18. <thead>
  19. <tr>
  20. <th class="col-md-1" data-field="id" data-sortable="true" data-align="center">#</th>
  21. <th class="col-md-4" data-field="name" data-editable="true">Name</th>
  22. <th class="col-md-7" data-field="description" data-editable="true" data-editable-emptytext="Custom empty text.">Description</th>
  23. </tr>
  24. </thead>
  25. </table>
  26. ````