Skip to content

Commit c4c313d

Browse files
committed
update example docs
1 parent 3f51e93 commit c4c313d

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,13 @@ If you want to have all expandable nodes open on initial load pass the `expandAl
6363
To allow a column to resize, add `isResizable` to the `DataViewTable` element, and pass `resizableProps` to each applicable header cell. The `resizableProps` object consists of the following fields:
6464

6565
- `isResizable` - indicates that the column is resizable
66+
- `resizeButtonAriaLabel` - an accesible name for the resizable column's resize button. This must be passed in if the column is resizable.
6667
- `onResize` - a callback that will return the source event and the new width of the column
6768
- `width` - a default width value for a column
6869
- `minWidth` - the minimum width a column may shrink to
6970
- `increment` - how many pixels the column will move left or right for keyboard navigation
71+
- `shiftIncrement` - how many pixels the column will move left or right while shift is held for keyboard navigation
72+
- `screenReaderText` - text that will be announced when a column is resized
7073

7174
```js file="./DataViewTableResizableColumnsExample.tsx"
7275

0 commit comments

Comments
 (0)