Browse Source

Update the docs and examples.

zhixin 11 years ago
parent
commit
0fbf852203
2 changed files with 3 additions and 1 deletions
  1. 1 1
      docs/docs.js
  2. 2 0
      docs/examples.html

+ 1 - 1
docs/docs.js

@@ -541,7 +541,7 @@ $(function () {
                     description: 'True to select checkbox or radiobox when the column is clicked.',
                     description_zh: '设置为True时点击行即可选中单选/复选框。',
                     'default': 'true',
-                    example: 'table-select'
+                    example: 'via-javascript-table'
                 }
             ]
         });

+ 2 - 0
docs/examples.html

@@ -984,6 +984,7 @@
                                     showColumns: true,
                                     showRefresh: true,
                                     minimumCountColumns: 2,
+                                    clickToSelect: true,
                                     columns: [{
                                         field: 'state',
                                         checkbox: true
@@ -1013,6 +1014,7 @@
                                         title: 'Item Operate',
                                         align: 'center',
                                         valign: 'middle',
+                                        clickToSelect: false,
                                         formatter: operateFormatter,
                                         events: operateEvents
                                     }]