Table
Last updated
Last updated
This documentation is a work in progress. UI scripting is a new feature, and additional content is still being added. Stay tuned for updates!
columns
a list
of columns (dict
)
column
properties:
type: "tag"
, "text"
or "button"
label: any string
buttons: a list
of buttons (dict
)
buttons
properties:
label: any string
color: default
| danger
onClick: func
This value is required.
rows
a list
of rows (dict
)
row structure (dict
):
id
: Must be unique. Duplicate IDs can cause unexpected behavior and may result in incorrect UI rendering. Ensure each ID is distinct to avoid issues.
cells
: a list
of cells that match the structure of columns
cell structure (dict
):
tag: text
, color
text: text
, subtext
, imageUrl
button: {}
Default: []
search
True | False
Default: True
items_per_page
any int
Default: 50
selectable
True | False
Default: False
visible
See .
Default: True
onSelectionChange
selected_rows (list
of row ids)
Triggered when the selection changes.