ソースを参照

Update docs and examples.

zhixin 11 年 前
コミット
29a8c54937
2 ファイル変更6 行追加6 行削除
  1. 2 2
      docs/docs.js
  2. 4 4
      docs/examples.html

+ 2 - 2
docs/docs.js

@@ -231,12 +231,12 @@ $(function () {
             },
             {
                 name: 'onCheckAll',
-                parameter: 'rows',
+                parameter: 'none',
                 description: 'Fires when user check all rows.'
             },
             {
                 name: 'onUncheckAll',
-                parameter: 'rows',
+                parameter: 'none',
                 description: 'Fires when user uncheck all rows.'
             }
         ],

+ 4 - 4
docs/examples.html

@@ -361,11 +361,11 @@
                                 onUncheck: function(row) {
                                     $result.text('Event: onUncheck, data: ' + JSON.stringify(row));
                                 },
-                                onCheckAll: function(rows) {
-                                    $result.text('Event: onCheckAll, data: ' + JSON.stringify(rows));
+                                onCheckAll: function() {
+                                    $result.text('Event: onCheckAll');
                                 },
-                                onUncheckAll: function(rows) {
-                                    $result.text('Event: onUncheckAll, data: ' + JSON.stringify(rows));
+                                onUncheckAll: function() {
+                                    $result.text('Event: onUncheckAll');
                                 }
                             });
                         });