core/data-grid/data-grid.model.ts
Describes a data grid action control for individual item.
Properties |
[key: string]:
|
callback |
callback:
|
Type : | Function
|
A callback function. |
icon |
icon:
|
Type : string
|
Optional |
The icon for the action button. |
showIf |
showIf:
|
Type : | Function
|
Optional |
Determines if the action should be shown for given item (if not defined, the action will be shown always). |
showOnHover |
showOnHover:
|
Type : boolean
|
Optional |
Action icon will be visible on hover only |
text |
text:
|
Type : string
|
Optional |
The label for the action button. |
type |
type:
|
Type : BuiltInActionType | string
|
The type of the action, predefined or custom. |