|
@@ -43,12 +43,27 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
|
|
|
<td>Append the data to table.</td>
|
|
<td>Append the data to table.</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
|
|
+ <td>prepend</td>
|
|
|
|
|
+ <td>data</td>
|
|
|
|
|
+ <td>Prepend the data to table.</td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
<td>remove</td>
|
|
<td>remove</td>
|
|
|
<td>params</td>
|
|
<td>params</td>
|
|
|
<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>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td>insertRow</td>
|
|
|
|
|
+ <td>params</td>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ Insert a new row, the param contains following properties:<br>
|
|
|
|
|
+ index: the row index to insert into.<br>
|
|
|
|
|
+ row: the row data.
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
@@ -146,5 +161,10 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
|
|
|
<td>none</td>
|
|
<td>none</td>
|
|
|
<td>Go to next page.</td>
|
|
<td>Go to next page.</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td>togglePagination</td>
|
|
|
|
|
+ <td>none</td>
|
|
|
|
|
+ <td>Toggle the pagination option.</td>
|
|
|
|
|
+ </tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|