CommandControl
A built-in Row command (opens the relevant Row Form).
TypeScript
export interface CommandControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData,Extends
BaseControl<TData, CTX>
Properties
| Property | Type | Description |
|---|---|---|
| command | ActionCommand | The built-in command to run: 'create', 'clone', 'edit' or 'delete'. |
| confirm | ConfirmConfig<CTX> | Optional confirmation prompt shown before the command runs. |
| type | 'command' | Discriminator. Set to 'command'. |
Property Details
command
The built-in command to run: 'create', 'clone', 'edit' or 'delete'.
TypeScript
command: ActionCommand;Property Value
confirm
Optional confirmation prompt shown before the command runs.
TypeScript
confirm?: ConfirmConfig<CTX>;Property Value
ConfirmConfig<CTX>
type
Discriminator. Set to 'command'.
TypeScript
type: 'command';Property Value
'command'