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.
 
 
 
 
 
 
娄梦宁 f74fc4a5d8 init 4 years ago
..
README.md init 4 years ago
bootstrap-table-jumpto.css init 4 years ago
bootstrap-table-jumpto.js init 4 years ago

README.md

Table Jump-to

Usage

<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.
<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>