Skip to content

Commit

Permalink
Merge pull request #517 from wenzhixin/fix/toolbar
Browse files Browse the repository at this point in the history
Update toolbar example to server side pagination
  • Loading branch information
wenzhixin authored May 9, 2024
2 parents 4b96131 + d5ffbfa commit a82645e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions extensions/toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@
id="table"
data-pagination="true"
data-search="true"
data-show-columns="true"
data-advanced-search="true"
data-id-table="advancedTable"
data-url="json/data1.json">
data-side-pagination="server"
data-url="https://examples.wenzhixin.net.cn/examples/bootstrap_table/data">
<thead>
<tr>
<th data-field="id" data-sortable="true">ID</th>
<th data-field="name" data-sortable="true">Item Name</th>
<th data-field="price" data-sortable="true">Item Price</th>
<th data-field="price" data-sortable="true">
<i class="fa fa-star"></i> Item Price
</th>
</tr>
</thead>
</table>
Expand Down

0 comments on commit a82645e

Please sign in to comment.