ソースを参照

Update the docs.

zhixin 11 年 前
コミット
989536169f
2 ファイル変更10 行追加1 行削除
  1. 1 1
      README.md
  2. 9 0
      docs/docs.js

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ The table displays data in a tabular format and offers rich support to radio, ch
 - [x] Fix [#56](https://github.com/wenzhixin/bootstrap-table/issues/56): Pagination issue in bootstrap 2.3.
 - [ ] Fix [#76](https://github.com/wenzhixin/bootstrap-table/issues/76): After refreshing table data, search no longer works.
 - [x] Fix [#77](https://github.com/wenzhixin/bootstrap-table/issues/76): After searching and then clearing the search field, table is no longer sortable.
-- [ ] Add `sortable` option, `false` to disable sortable of all columns.
+- [x] Add `sortable` option, `false` to disable sortable of all columns.
 - [x] Support localization for docs.
 
 ## Features

+ 9 - 0
docs/docs.js

@@ -376,6 +376,15 @@ $(function () {
                     example: '-'
                 },
                 {
+                    name: 'sortable',
+                    attribute: 'data-sortable',
+                    type: 'Boolean',
+                    description: 'False to disable sortable of all columns.',
+                    description_zh: '设置为False时禁用所有列的排序。',
+                    'default': 'true',
+                    example: '-'
+                },
+                {
                     name: 'rowStyle',
                     attribute: 'data-row-style',
                     type: 'Function',