From 35f828868d188a0b4c10e4ddcf57c633dece8736 Mon Sep 17 00:00:00 2001 From: Filip Hlavac <50696716+fhlavac@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:15:42 +0200 Subject: [PATCH] Update Components.md --- .../extensions/data-view/examples/Components/Components.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/module/patternfly-docs/content/extensions/data-view/examples/Components/Components.md b/packages/module/patternfly-docs/content/extensions/data-view/examples/Components/Components.md index a7efd40..6ab0c4d 100644 --- a/packages/module/patternfly-docs/content/extensions/data-view/examples/Components/Components.md +++ b/packages/module/patternfly-docs/content/extensions/data-view/examples/Components/Components.md @@ -72,6 +72,8 @@ The `DataViewTable` component accepts the following props: - optional `props` (`TableProps`) that are passed down to the `` component, except for `onSelect`, which is managed internally. +It is also possible to disable row selection using the `isSelectDisabled` function passed to the wrapping data view component. + ### Tree table example 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: - `row` (`DataViewTd[]`) defining the content for each cell in the row.