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
If set to `true`, creates a “multi-select” table which renders checkboxes in the table header and on the table rows enabling bulk interaction. Use in conjunction with `onSelectionChange` on the `Table` and `selectionKey` on each `Table::Tr`.<br><br>
74
-
**Important**: AdvancedTable does **not** support having `isSelectable` true when there are nested rows.
74
+
**Important**: Advanced Table does **not** support having `isSelectable` true when there are nested rows.
Use in conjunction with `isSelectable` to pass a callback function to know the selection state. Must be used in conjunction with setting a `selectionKey` on each `Table::Tr`.
Copy file name to clipboardexpand all lines: website/docs/components/table/advanced-table/partials/code/how-to-use.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ It is not currently supported to have `@isStriped`, multi-select, or sortable co
116
116
117
117
!!!
118
118
119
-
Similar to the basic AdvancedTable, you can insert your own content into the `:body` block and the component will take care of looping over the `@model` provided for the parent and nested rows. The component adds the expand/collapse button to the `[B].Th` component in each row that has children.
119
+
Similar to the basic Advanced Table, you can insert your own content into the `:body` block and the component will take care of looping over the `@model` provided for the parent and nested rows. The component adds the expand/collapse button to the `[B].Th` component in each row that has children.
120
120
121
121
122
122
```handlebars
@@ -233,7 +233,7 @@ By default, the sort order is set to ascending. To indicate that the column defi
233
233
234
234
To implement a custom sort callback on a column:
235
235
236
-
1. add a custom function as the value for `sortingFunction` in the column hash,
236
+
1. add a custom function as the value for `sortingFunction` in the column hash.
237
237
2. include a custom `onSort` action in your Table invocation to track the sorting order and use it in the custom sorting function.
238
238
239
239
This is useful for cases where the key might not be A-Z or 0-9 sortable by default, e.g., status, and you’re otherwise unable to influence the shape of the data in the model.
To create a condensed or spacious Table, add `@density` to the Table’s invocation. Note that it only affects the Table body, not the Table header.
301
+
To create a condensed or spacious Advanced Table, add `@density` to the Advanced Table’s invocation. Note that it only affects the table body, not the table header.
302
302
303
303
```handlebars
304
304
<Hds::AdvancedTable
@@ -678,7 +678,7 @@ _Notice: only non-sortable headers can be visually hidden._
678
678
679
679
#### Internationalized column headers, overflow menu dropdown
680
680
681
-
Here’s an Advanced Table implementation that uses an array hash with localized strings for the column headers, indicates which columns should be sortable, and adds an overflow menu.
681
+
Here’s an Advanced Table implementation that uses an array hash with localized strings for the column headers. It indicates which columns should be sortable, and adds an overflow menu.
0 commit comments