projects/apttus/elements/src/lib/data/table/table.interface.ts
Used to describe an action to be used on the table.
Properties |
|
Methods |
| validate | ||||||||
validate(record: AObject)
|
||||||||
|
Validation method to be executed.
Parameters :
Returns :
boolean
|
| enabled |
enabled:
|
Type : boolean
|
| Optional |
|
Flag to set the action as enabled. |
| icon |
icon:
|
Type : string
|
|
Icon to show for the action. font awesome class as string. i.e. icon: 'fa-ban' for delet icon. |
| label |
label:
|
Type : string
|
|
Label to show for the action. |
| massAction |
massAction:
|
Type : boolean
|
| Optional |
|
Flag to set this as a mass action. |
| theme |
theme:
|
Type : "primary" | "warning" | "danger" | "info"
|
| Optional |
|
Bootstrap class theme for this action. |