Skip to content

Commit 3b2ac8b

Browse files
authored
Merge pull request #61 from patternfly/fhlavac-patch-6
Update Components.md. with isSelectDisabled
2 parents 199d7a0 + 960532b commit 3b2ac8b

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ 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.
75+
It is also possible to disable row selection using the `isSelectDisabled` function passed to the wrapping data view component through `selection`.
7676

7777
### Tree table example
7878
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:
7979
- `row` (`DataViewTd[]`) defining the content for each cell in the row.
8080
- `id` (`string`) for the row (used to match items in selection end expand the rows).
8181
- optional `children` (`DataViewTrTree[]`) defining the children rows.
8282

83-
It is also possible to disable row selection using the `isSelectDisabled` function passed to the wrapping data view component.
83+
It is also possible to disable row selection using the `isSelectDisabled` function passed to the wrapping data view component through `selection`.
8484

8585
```js file="./DataViewTableTreeExample.tsx"
8686

0 commit comments

Comments
 (0)