File

core/data-grid/data-grid.model.ts

Description

Describes a data grid action control for individual item.

Index

Properties

Indexable

[key: string]: any

Properties

callback
callback: | Function
Type : | Function

A callback function.

icon
icon: string
Type : string
Optional

The icon for the action button.

iconClasses
iconClasses: string
Type : string
Optional

The icon classes for the action button icon.

priority
priority: number
Type : number
Optional

Defines the order in which action controls appear. Higher value means earlier position. Controls without priority are handled with priority = 0. If you want to place an action after an action without priority, negative numbers can be used.

showIf
showIf: | Function
Type : | Function
Optional

Determines if the action should be shown for given item (if not defined, the action will be shown always).

showOnHover
showOnHover: boolean
Type : boolean
Optional

Action icon will be visible on hover only

text
text: string
Type : string
Optional

The label for the action button.

type
type: BuiltInActionType | string
Type : BuiltInActionType | string

The type of the action, predefined or custom.

results matching ""

    No results matching ""