projects/congarevenuecloud/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, childRecords?: Array
|
||||||||||||
Validation method to be executed.
Parameters :
Returns :
boolean
|
disableReload |
disableReload:
|
Type : boolean
|
Optional |
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. |