Interface TableActionMethodOptions<Data>

interface TableActionMethodOptions<Data = any> {
    checkFunction?: RowActionCheckFunction<Data>;
    color?: ThemePalette;
    confirm?: boolean;
    errorMessage?: string;
    priority?: number;
    refresh?: boolean;
    successMessage?: string;
    tooltip?: string;
    type?: string;
}

Type Parameters

  • Data = any

Properties

checkFunction?: RowActionCheckFunction<Data>
color?: ThemePalette

The color of the action button.

confirm?: boolean

If true, the user will be asked to confirm the action before execution.

errorMessage?: string

The error message that will be displayed if the action fails.

priority?: number

The priority of the action. If multiple action with the same type exists. The action with the highest priority will be used. To set the defaults for the directive.

refresh?: boolean

If true, the table will be refreshed after the action is executed.

successMessage?: string

The success message that will be displayed if the action succeeds.

tooltip?: string

The tooltip of the action button.

type?: string