Field action
Run when a field action fires, such as a button click.
Type
table.on-field-eventField action runs when a field action fires on the selected table and field — for example a Button click.
Payload
| Field | Type | Description |
|---|---|---|
tableId | string | Table to watch |
fieldId | string | Field that owns the action |
eventName | string | Action name. Default: click |
Trigger data
Available as args.*. row matches the selected table. data follows the field action.
| Field | Type | Description |
|---|---|---|
tableId | string | Table id |
fieldId | string | Field id |
eventName | string | Action that fired |
rowId | string | Row id |
data | object | Action payload |
row | object | Row values |
Use case
- A Button labeled Approve, Send reminder, or Sync — click runs this handler instead of (or as well as) delete/archive/edit.
- Row-level actions the grid should not do automatically on every field edit.
- Event name defaults to
click; keep the button trigger empty when the only outcome should be this handler.