File

projects/congarevenuecloud/elements/src/lib/data/table/table.interface.ts

Description

Used to describe an action to be used on the table.

Index

Properties
Methods

Methods

action
action(recordList: Array)

Action method to be executed.

Parameters :
Name Type Optional Description
recordList Array<AObject> No

Array of AObject records to pass to the action method.

Returns : Observable<any>
validate
validate(record: AObject, childRecords?: Array)

Validation method to be executed.

Parameters :
Name Type Optional Description
record AObject No

AObject to validate.

childRecords Array<AObject> Yes
Returns : boolean

Properties

disableReload
disableReload: boolean
Type : boolean
Optional
enabled
enabled: boolean
Type : boolean
Optional

Flag to set the action as enabled.

icon
icon: string
Type : string

Icon to show for the action. font awesome class as string. i.e. icon: 'fa-ban' for delet icon.

label
label: string
Type : string

Label to show for the action.

massAction
massAction: boolean
Type : boolean
Optional

Flag to set this as a mass action.

theme
theme: "primary" | "warning" | "danger" | "info"
Type : "primary" | "warning" | "danger" | "info"
Optional

Bootstrap class theme for this action.

results matching ""

    No results matching ""