|
|
@@ -18,6 +18,11 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
+ <td>options</td>
|
|
|
+ <td>none</td>
|
|
|
+ <td>Return the options object.</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
<td>getSelections</td>
|
|
|
<td>none</td>
|
|
|
<td>Return all selected rows, when no record selected, am empty array will return.</td>
|
|
|
@@ -38,12 +43,27 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
|
|
|
<td>Append the data to table.</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
+ <td>prepend</td>
|
|
|
+ <td>data</td>
|
|
|
+ <td>Prepend the data to table.</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
<td>remove</td>
|
|
|
<td>params</td>
|
|
|
<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>
|
|
|
+ <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>
|
|
|
</tr>
|
|
|
<tr>
|