File

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

Description

Describes a data grid action control for multiple items.

Extends

ActionControl

Index

Methods

Methods

callback
callback(selectedItemIds: string[], reload: () => void)

A callback function.

Parameters :
Name Type Optional Description
selectedItemIds string[] No

The list of ids of the selected items.

reload function No

The function to call, if you want to reload the grid.

Returns : void
Optional showIf
showIf(selectedItemIds: string[])

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

Parameters :
Name Type Optional Description
selectedItemIds string[] No

The list of ids of the selected items for which the action is supposed to be performed.

Returns : boolean

results matching ""

    No results matching ""