浏览代码

Update the pageList default value and update the docs.

zhixin 11 年之前
父节点
当前提交
9ff71f7dcd
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. 7 1
      docs/docs.js
  2. 1 1
      src/bootstrap-table.js

+ 7 - 1
docs/docs.js

@@ -107,7 +107,13 @@ $(function () {
                 name: 'pageList',
                 type: 'Array',
                 description: 'When set pagination property, initialize the page size selecting list.',
-                'default': '[10, 20, 30, 40, 50]'
+                'default': '[10, 25, 50, 100]'
+            },
+            {
+                name: 'search',
+                type: 'Boolean',
+                description: 'Enable the search input.',
+                'default': 'false'
             }
         ]
     });

+ 1 - 1
src/bootstrap-table.js

@@ -59,7 +59,7 @@
         totalRows: 0, // server side need to set
         pageNumber: 1,
         pageSize: 10,
-        pageList: [10, 20, 30, 40, 50],
+        pageList: [10, 25, 50, 100],
         search: false,
 
         onClickRow: function(item) {return false;},