Browse Source

Update the pageList default value and update the docs.

zhixin 11 years ago
parent
commit
9ff71f7dcd
2 changed files with 8 additions and 2 deletions
  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;},