Browse Source

Merge pull request #459 from jmarceli/patch-1

Add example to the remove method
文翼 11 years ago
parent
commit
3f3b968025
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/_i18n/en/documentation/methods.md

+ 2 - 1
docs/_i18n/en/documentation/methods.md

@@ -43,7 +43,8 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
         <td>
         <td>
         Remove data from table, the params contains two properties: <br>
         Remove data from table, the params contains two properties: <br>
         field: the field name of remove rows. <br>
         field: the field name of remove rows. <br>
-        values: the values of remove rows.
+        values: the array of values for rows which should be removed. <br>
+        Example: $('#myTable').bootstrapTable('remove', {field: 'id', values: ["73", "74"]})
         </td>
         </td>
     </tr>
     </tr>
     <tr>
     <tr>