Browse Source

Add onLoadSuccess and onLoadError docs.

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

+ 11 - 1
docs/docs.js

@@ -268,7 +268,17 @@ $(function () {
                 name: 'onUncheckAll',
                 name: 'onUncheckAll',
                 parameter: 'none',
                 parameter: 'none',
                 description: 'Fires when user uncheck all rows.'
                 description: 'Fires when user uncheck all rows.'
-            }
+            },
+            {
+                name: 'onLoadSuccess',
+                parameter: 'data',
+                description: 'Fires when remote data is loaded successfully.'
+            },
+            {
+                name: 'onLoadError',
+                parameter: 'status',
+                description: 'Fires when some errors occur to load remote data.'
+            },
         ],
         ],
         onClickRow: function (row) {
         onClickRow: function (row) {
             console.log('onClickRow', row);
             console.log('onClickRow', row);