@@ -1070,11 +1070,13 @@ footer cells that do not have an explicit scoped slot provided.
1070
1070
The slots can be optionally scoped (` data ` in the above example), and will have the following
1071
1071
properties:
1072
1072
1073
- | Property | Type | Description |
1074
- | -------- | ------ | ------------------------------------------------------------- |
1075
- | ` column ` | String | The fields's ` key ` value |
1076
- | ` field ` | Object | the field's object (from the ` fields ` prop) |
1077
- | ` label ` | String | The fields label value (also available as ` data.field.label ` ) |
1073
+ | Property | Type | Description |
1074
+ | --------------- | ------ | ----------------------------------------------------------------------------------------- |
1075
+ | ` column ` | String | The fields's ` key ` value |
1076
+ | ` field ` | Object | the field's object (from the ` fields ` prop) |
1077
+ | ` label ` | String | The fields label value (also available as ` data.field.label ` ) |
1078
+ | ` selectAllRows ` | Method | Select all rows (applicable if the table is in [ ` selectable ` ] ( #row-select-support ) mode |
1079
+ | ` clearSelected ` | Method | Unselect all rows (applicable if the table is in [ ` selectable ` ] ( #row-select-support ) mode |
1078
1080
1079
1081
When placing inputs, buttons, selects or links within a ` HEAD[...] ` or ` FOOT[...] ` slot, note that
1080
1082
` head-clicked ` event will not be emitted when the input, select, textarea is clicked (unless they
@@ -1138,10 +1140,12 @@ rather than native browser table child elements.
1138
1140
1139
1141
Slot ` thead-top ` can be optionally scoped, receiving an object with the following properties:
1140
1142
1141
- | Property | Type | Description |
1142
- | --------- | ------ | ----------------------------------------------------------------------------- |
1143
- | ` columns ` | Number | The number of columns in the rendered table |
1144
- | ` fields ` | Array | Array of field definition objects (normalized to the array of objects format) |
1143
+ | Property | Type | Description |
1144
+ | --------------- | ------ | ----------------------------------------------------------------------------------------- |
1145
+ | ` columns ` | Number | The number of columns in the rendered table |
1146
+ | ` fields ` | Array | Array of field definition objects (normalized to the array of objects format) |
1147
+ | ` selectAllRows ` | Method | Select all rows (applicable if the table is in [ ` selectable ` ] ( #row-select-support ) mode |
1148
+ | ` clearSelected ` | Method | Unselect all rows (applicable if the table is in [ ` selectable ` ] ( #row-select-support ) mode |
1145
1149
1146
1150
## Custom empty and emptyfiltered rendering via slots
1147
1151
0 commit comments