You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_i18n/en/documentation/methods.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
15
15
<th>Name</th>
16
16
<th>Parameter</th>
17
17
<th>Description</th>
18
+
<th data-formatter="methodFormatter"
19
+
data-align="center"
20
+
data-valign="middle">Example</th>
18
21
</tr>
19
22
</thead>
20
23
<tbody>
@@ -45,9 +48,7 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
45
48
<tr>
46
49
<td>getRowByUniqueId</td>
47
50
<td>id</td>
48
-
<td>
49
-
Get data from table, the row that contains the id passed by parameter.
50
-
</td>
51
+
<td>Get data from table, the row that contains the id passed by parameter.</td>
51
52
<td>getRowByUniqueId</td>
52
53
</tr>
53
54
<tr>
@@ -75,8 +76,8 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
75
76
Remove data from table, the params contains two properties: <br>
76
77
field: the field name of remove rows. <br>
77
78
values: the array of values for rows which should be removed.
78
-
<td>remove</td>
79
79
</td>
80
+
<td>remove</td>
80
81
</tr>
81
82
<tr>
82
83
<td>removeAll</td>
@@ -111,6 +112,15 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
111
112
index: the row index to be updated. <br>
112
113
row: the new row data.
113
114
</td>
115
+
</tr>
116
+
<tr>
117
+
<td>updateByUniqueId</td>
118
+
<td>params</td>
119
+
<td>
120
+
Update the specified row, the param contains following properties: <br>
121
+
id: a row id where the id should be the uniqueid field assigned to the table. <br>
122
+
row: the new row data.
123
+
</td>
114
124
</tr>
115
125
<tr>
116
126
<td>showRow</td>
@@ -258,7 +268,7 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
258
268
<tr>
259
269
<td>filterBy</td>
260
270
<td>params</td>
261
-
<td>(Can use only in client-side)Filter data in table, eg. you can filter <code>{age: 10}</code> to show the data only age is equal to 10.</td>
271
+
<td>(Can use only in client-side)Filter data in table, e.g. you can filter <code>{age: 10}</code> to show the data only age is equal to 10. You can also filter with an array of values, as in: <code>{age: 10, hairColor: ["blue", "red", "green"]} to find data where age is equal to 10 and hairColor is either blue, red, or green.</td>
Copy file name to clipboardExpand all lines: docs/_i18n/es/documentation/table-options.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,6 +181,13 @@ Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`
181
181
<td>false</td>
182
182
<td>True para mostrar la paginación al final de la tabla.</td>
183
183
</tr>
184
+
<tr>
185
+
<td>onlyInfoPagination</td>
186
+
<td>data-only-info-pagination</td>
187
+
<td>Boolean</td>
188
+
<td>false</td>
189
+
<td>True para mostrar solo la cantidad de los registros que se están mostrando en la tabla. Esta opción necesita que la opción pagination este en true.</td>
0 commit comments