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
Define a `function` to use a custom highlight formatter for the [search highlight](https://bootstrap-table.com/docs/api/table-options/#searchhighlight) option.
Provide a customizable sort-name, not the default sort-name in the header, or the field name of the column. For example, a column might display the value of fieldName of 'html' such as `<b><span style="color:red">abc</span></b>`, but a fieldName to sort is 'content' with the value of `'abc'`.
369
-
370
-
-**Default:**`undefined`
371
-
372
-
-**Example:**[Sort Name Order](https://examples.bootstrap-table.com/#column-options/sort-name-order.html)
373
-
374
377
## sortable
375
378
376
379
-**Attribute:**`data-sortable`
@@ -406,6 +409,20 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
Provide a customizable sort-name, not the default sort-name in the header, or the field name of the column. For example, a column might display the value of fieldName of 'html' such as `<b><span style="color:red">abc</span></b>`, but a fieldName to sort is 'content' with the value of `'abc'`.
421
+
422
+
-**Default:**`undefined`
423
+
424
+
-**Example:**[Sort Name Order](https://examples.bootstrap-table.com/#column-options/sort-name-order.html)
Return all selected rows contain search or filter, when no record selected, an empty array will return.
177
-
178
-
-**Example:**[Get All Selections](https://examples.bootstrap-table.com/#methods/get-all-selections.html)
179
-
180
170
## getData
181
171
182
172
-**Parameter:**`params`
@@ -249,6 +239,7 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter)`.
249
239
-**Detail:**
250
240
251
241
Return selected rows, when no record selected, an empty array will return.
242
+
The selected rows will be unselected while some actions happens e.g. searching or page change, if you want to maintain the selections please use [maintainMetaData](https://bootstrap-table.com/docs/api/table-options/#maintainmetadata).
0 commit comments