@rxap/material-table-system
Version:
This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c
98 lines (50 loc) • 3.9 kB
Markdown
[/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/material/table-system/src/lib/table-row-actions/decorators.ts#L17)