device-grid/device-grid.model.ts
Use `ActionControlHook` instead.
Defines an action hook for the device grid.
DeviceGridActionHook {BuiltInActionType} type of the action {boolean} refreshAfterActionDone refreshs the device grid after the action execution {(mo: IManagedObject) => boolean} deviceMatches resolves the object of the row and needs to return true for an element that you want to execute your action on
Example : {
...
deviceMatches: (device: IManagedObject) => device?.type === 'my_custom_type'
}{(mo: IManagedObject) => Observable
{
...
onAction: (device: IManagedObject) => this.myService.triggerCustomAction(device)
}