klzhangweiya 9d2bb8206a 添加项目文件。 3 年 前
..
README.md 9d2bb8206a 添加项目文件。 3 年 前
bootstrap-table-defer-url.js 9d2bb8206a 添加项目文件。 3 年 前
extension.json 9d2bb8206a 添加项目文件。 3 年 前

README.md

Table Defer URL

Use Plugin: bootstrap-table-defer-url

Usage

<script src="extensions/defer-url/bootstrap-table-defer-url.js"></script>

Options

deferUrl

  • type: String
  • description: When using server-side processing, the default mode of operation for bootstrap-table is to simply throw away any data that currently exists in the table and make a request to the server to get the first page of data to display. This is fine for an empty table, but if you already have the first page of data displayed in the plain HTML, it is a waste of resources. As such, you can use data-defer-url instead of data-url to allow you to instruct bootstrap-table to not make that initial request, rather it will use the data already on the page.
  • default: null