Skip to content

Commit 11de0cc

Browse files
authored
Update Components.md
1 parent 7f48a9c commit 11de0cc

File tree

1 file changed

+2
-0
lines changed
  • packages/module/patternfly-docs/content/extensions/data-view/examples/Components

1 file changed

+2
-0
lines changed

packages/module/patternfly-docs/content/extensions/data-view/examples/Components/Components.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ The `DataViewTable` component accepts the following props:
7272

7373
- optional `props` (`TableProps`) that are passed down to the `<Table>` component, except for `onSelect`, which is managed internally.
7474

75+
It is also possible to disable row selection using the `isSelectDisabled` function passed to the wrapping data view component.
76+
7577
### Tree table example
7678
This example shows the tree table variant with expandable rows, custom icons for leaf and parent nodes. Tree table is turned on by passing `isTreeTable` flag to the `DataViewTable` component. You can pass `collapsedIcon`, `expandedIcon` or `leafIcon` to be displayen rows with given status. The tree table rows have to be defined in a format of object with following keys:
7779
- `row` (`DataViewTd[]`) defining the content for each cell in the row.

0 commit comments

Comments
 (0)