浏览代码

added documentation

Dustin Utecht 6 年之前
父节点
当前提交
0cceb8c2a4
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      site/docs/api/table-options.md

+ 13 - 0
site/docs/api/table-options.md

@@ -505,11 +505,24 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 - **Detail:**
 - **Detail:**
 
 
   Set `true` to show a extended version of pagination (including the count of all rows with out filters).
   Set `true` to show a extended version of pagination (including the count of all rows with out filters).
+  If you use pagination on the server side pls use totalNotFilteredField to define the count.
 
 
 - **Default:** `false`
 - **Default:** `false`
 
 
 - **Example:** [Only Info Pagination](https://examples.bootstrap-table.com/#options/show-extended-pagination.html)
 - **Example:** [Only Info Pagination](https://examples.bootstrap-table.com/#options/show-extended-pagination.html)
 
 
+## totalNotFilteredField
+
+- **Attribute:** `data-total-not-filtered-field`
+
+- **Type:** `string`
+
+- **Detail:**
+
+  The field from the json response which will used for showExtendedPagination.
+
+- **Default:** `totalNotFiltered`
+
 ## paginationLoop
 ## paginationLoop
 
 
 - **Attribute:** `data-pagination-loop`
 - **Attribute:** `data-pagination-loop`