CommandControl

View as Markdown

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

PropertyTypeDescription
commandActionCommandThe built-in command to run: 'create', 'clone', 'edit' or 'delete'.
confirmConfirmConfig<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

ActionCommand

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'