浏览代码

Add example to the remove method

jmarceli 11 年之前
父节点
当前提交
5670667f50
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>
         Remove data from table, the params contains two properties: <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>
     </tr>
     <tr>