[@rxap/material-table-system](../wiki/globals) / TableActionMethodOptions

# Interface: TableActionMethodOptions\<Data\>

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:16](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L16)

## Type Parameters

• **Data** = `any`

## Properties

### checkFunction?

> `optional` **checkFunction**: [`RowActionCheckFunction`](../wiki/TypeAlias.RowActionCheckFunction)\<`Data`\>

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:18](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L18)

***

### color?

> `optional` **color**: `ThemePalette`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:52](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L52)

The color of the action button.

***

### confirm?

> `optional` **confirm**: `boolean`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:26](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L26)

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

***

### errorMessage?

> `optional` **errorMessage**: `string`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:35](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L35)

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

***

### priority?

> `optional` **priority**: `number`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:47](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L47)

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?

> `optional` **refresh**: `boolean`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:22](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L22)

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

***

### successMessage?

> `optional` **successMessage**: `string`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:40](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L40)

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

***

### tooltip?

> `optional` **tooltip**: `string`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:30](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L30)

The tooltip of the action button.

***

### type?

> `optional` **type**: `string`

Defined in: [packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts:17](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L17)
