Browse Source

added README.md

Jay 8 years ago
parent
commit
ce62cc125a
1 changed files with 33 additions and 0 deletions
  1. 33 0
      src/extensions/page-jumpto/README.md

+ 33 - 0
src/extensions/page-jumpto/README.md

@@ -0,0 +1,33 @@
+# Table Editable
+
+Use Plugin: [x-editable](https://github.com/vitalets/x-editable)
+
+## Usage
+
+```html
+<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`
+
+````html
+<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>
+````