Preview
Usage
DataTable usage<form method="post"><DataTable caption="Deployments" columns={columns} rows={rows} selectionName="deploy" /><Btn type="submit">Apply selection</Btn></form>API
DataTable APIDataTableProps
| prop | type | notes |
|---|---|---|
| caption | string | |
| columns | DataTableColumn[] | |
| rows | DataTableRow[] | |
| selectionName? | string | Adds one native row-selection checkbox per row under this form field name. |
| selectionHeading? | RemixNode | Localized heading for the optional selection column. |
| emptyTitle? | string | |
| emptyHint? | string | |
| emptyHeading? | 'h2' | 'h3' | 'h4' | |
| dense? | boolean | |
| stickyHead? | boolean | |
| mix? | MixInput |