Browse Source

Add 'showColumns' option and 'visible' column option to docs.

zhixin 11 years ago
parent
commit
0457177287
1 changed files with 12 additions and 0 deletions
  1. 12 0
      docs/docs.js

+ 12 - 0
docs/docs.js

@@ -126,6 +126,12 @@ $(function () {
                 type: 'Boolean',
                 description: 'False to hide the table header.',
                 'default': 'true'
+            },
+            {
+                name: 'showColumns',
+                type: 'Boolean',
+                description: 'True to show the columns drop down list.',
+                'default': 'false'
             }
         ]
     });
@@ -190,6 +196,12 @@ $(function () {
                 'default': 'asc'
             },
             {
+                name: 'visible',
+                type: 'Boolean',
+                description: 'True to visible the columns item.',
+                'default': 'true'
+            },
+            {
                 name: 'formatter',
                 type: 'Function',
                 description: 'The cell formatter function, take two parameters: <br />value: the field value. <br />row: the row record data.',