File

projects/apttus/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<void>
validate
validate(record: AObject)

Validation method to be executed.

Parameters :
Name Type Optional Description
record AObject No

AObject to validate.

Returns : boolean

Properties

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.

result-matching ""

    No results matching ""