Browse Source

Update refresh docs.

zhixin 11 years ago
parent
commit
15763729d7
2 changed files with 2 additions and 1 deletions
  1. 1 0
      README.md
  2. 1 1
      docs/docs.js

+ 1 - 0
README.md

@@ -16,6 +16,7 @@ The table displays data in a tabular format and offers rich support to radio, ch
 
 - [ ] Fix #23: Add css and classes parameters to column cell.
 - [ ] Fix #64: Add support for change remote url.
+- [x] Fix #112: update the `refresh` method.
 - [x] Fix #113: Using radio type and cardView error.
 - [x] Fix #117: Add `updateRow` method.
 

+ 1 - 1
docs/docs.js

@@ -672,7 +672,7 @@ $(function () {
                 {name: 'mergeCells', parameter: 'options', description: 'field: the field name.'},
                 {name: 'mergeCells', parameter: 'options', description: 'rowspan: the rowspan count to be merged.'},
                 {name: 'mergeCells', parameter: 'options', description: 'colspan: the colspan count to be merged.'},
-                {name: 'refresh', parameter: 'none', description: 'Refresh the remote server data.'},
+                {name: 'refresh', parameter: 'params', description: 'Refresh the remote server data, you can set <code>{silent: true}</code> to refresh the data silently.'},
                 {name: 'showLoading', parameter: 'none', description: 'Show loading status.'},
                 {name: 'hideLoading', parameter: 'none', description: 'Hide loading status.'},
                 {name: 'checkAll', parameter: 'none', description: 'Check all current page rows.'},