DataTable
- Draft
- Not reviewed for accessibility
Name | Type | Default | Description |
---|---|---|---|
aria-describedby | string | Provide an id to an element which uniquely describes this table | |
aria-labelledby | string | Provide an id to an element which uniquely labels this table | |
data | Array<Data> | Provide a collection of the rows which will be rendered inside of the table | |
columns | Array<Column<Data>> | Provide the columns for the table and the fields in | |
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell |
Name | Type | Default | Description |
---|---|---|---|
aria-describedby | string | Provide an id to an element which uniquely describes this table | |
aria-labelledby | string | Provide an id to an element which uniquely labels this table | |
children | React.ReactNode | ||
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
scope | 'row' | Provide the scope for a table cell, useful for defining a row header using |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
id Required | string |
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | ||
id Required | string |
Name | Type | Default | Description |
---|---|---|---|
cellPadding | 'condensed' | 'normal' | 'spacious' | Specify the amount of space that should be available around the contents of a cell | |
columns | Array<Column<Data>> | ||
rows | number | Optionally specify the number of rows which should be included in the skeleton state of the component |
Name | Type | Default | Description |
---|---|---|---|
aria-label Required | string | ||
defaultPageIndex | string | ||
id | string | ||
onChange | ({ pageIndex }: { pageIndex: number }) => void | ||
pageSize | number | ||
totalCount Required | number |
Name | Type | Default | Description |
---|---|---|---|
children Required | React.ReactNode | The content of the dialog. This is usually a message explaining the error. | |
title | string | 'Error' | The title of the dialog. This is usually a short description of the error. |
onRetry | () => void | Event handler called when the user clicks the retry button. | |
onDismiss | () => void | Event handler called when the dialog is dismissed. |