diff --git a/docs/src/pages/components/DataTable.svx b/docs/src/pages/components/DataTable.svx index 059c7e2d..5419bb5c 100644 --- a/docs/src/pages/components/DataTable.svx +++ b/docs/src/pages/components/DataTable.svx @@ -1097,7 +1097,9 @@ In the following example, each row in the sortable data table has an overflow me -### Selectable +### Selectable rows (checkbox) + +Set `selectable` to `true` for rows to be multi-selectable. @@ -1125,7 +1127,9 @@ You can also prevent the default "Cancel" behavior in the dispatched `on:cancel` -### Selectable (radio) +### Selectable rows (radio) + +Set `radio` to `true` for only one row to be selected at a time. @@ -1135,7 +1139,9 @@ Use `nonSelectableRowIds` to specify the ids for rows that should not be selecta -### Expandable +### Expandable rows + +Set `expandable` to `true` for rows to be expandable. -### Expandable and selectable +### Expandable and selectable rows + +The `batchExpansion` and `batchSelection` props can be used together.