Skip to content
Prev Previous commit
Next Next commit
Update packages/module/patternfly-docs/content/extensions/component-g…
…roups/examples/ColumnManagementModal/ColumnManagementModal.md

Co-authored-by: Filip Hlavac <50696716+fhlavac@users.noreply.github.com>
  • Loading branch information
leSamo and fhlavac authored Apr 24, 2024
commit 8cce5fa9fe2f4054b6e3e16b95b0499289db8547
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The **column management modal** component can be used to implement customizable
### Showing and hiding of table columns

Clicking the "Manage columns" button will open the column management modal. The "ID" column should not be toggleable, therefore its checkbox is disabled with `isUntoggleable: true`. "Score" column is set to be hidden by default. Always make sure to set `isShownByDefault` and `isShown` to the same boolean value in the initial state.

For further customization, you can utilize all properties of the [modal component](/components/modal), with the exception of `ref`.

```js file="./ColumnManagementModalExample.tsx"

Expand Down