RecordTable
The records of one kind: count + Add, a sortable table (phones: a list), edit in a drawer, delete with a confirm.
Group: Data · Kind: macro
Preview
Section titled “Preview”Variants
Section titled “Variants”| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
kind |
string |
yes | – | The package’s record kind. |
query |
string |
– | – | The records query (sort=name&order=asc, query=<name>); default newest first. |
columns |
[string] |
– | – | The fields shown, in order; default every schema field. |
add |
boolean |
– | – | Shows the Add button. Default true. |
editable |
boolean |
– | – | Rows open the form; Edit and Delete show. Default true. |
title |
string |
– | – | Filled by the host. |
cols |
[column] |
– | – | Filled by the host. |
rows |
[object] |
– | yes | Filled by the host. |
count |
string |
– | yes | Filled by the host. |
loading |
boolean |
– | yes | Filled by the host. Default false. |
fields |
[object] |
– | – | Filled by the host. |
path |
string |
– | – | Filled by the host. |
editorOpen |
boolean |
– | yes | Filled by the host. Default false. |
editorId |
string |
– | yes | Filled by the host. |
deleteOpen |
boolean |
– | yes | Filled by the host. Default false. |
missing |
boolean |
– | – | Filled by the host. Default false. |
Events
Section titled “Events”None.
None.
Children
Section titled “Children”none
A2UI basic mapping
Section titled “A2UI basic mapping”No basic catalog component maps here.
Built from
Section titled “Built from”Box · Button · Dialog · Drawer · EmptyState · Form · FormActions · List · RecordForm · Skeleton · Table · Text · Toolbar
Accessibility
Section titled “Accessibility”Role: group
group: the toolbar, the expanded Table (phones: the List), the editor drawer and the delete confirm (alertdialog)
| Keys | Action |
|---|---|
| – | Tab moves through Add, the headers and each row’s Edit and Delete |
| – | Escape closes the drawer or the confirm |
Theming
Section titled “Theming”Recipe parts: RecordTable/root RecordTable/unknown RecordTable/toolbar RecordTable/count RecordTable/add RecordTable/loading RecordTable/table RecordTable/menu RecordTable/edit RecordTable/delete RecordTable/list RecordTable/editor RecordTable/form RecordTable/confirm RecordTable/confirmForm RecordTable/confirmActions
Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover
Related
Section titled “Related”Button · Dialog · Drawer · EmptyState · Form · FormActions · List · RecordForm