operations/device-selector/device-selector.component.ts
selector | c8y-device-selector |
templateUrl | device-selector.component.html |
Properties |
|
Methods |
Inputs |
Outputs |
deviceTypes |
Type : Observable<string[]>
|
onDeviceQueryStringChange |
Type : EventEmitter<string>
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
columns |
Type : Column[]
|
Default value : [
new StatusDeviceGridColumn(),
new NameDeviceGridColumn(),
this.typeColumn,
new ModelDeviceGridColumn(),
new GroupDeviceGridColumn(),
new RegistrationDateDeviceGridColumn(),
new AlarmsDeviceGridColumn()
]
|
deviceGrid |
Type : DeviceGridComponent
|
Decorators :
@ViewChild(DeviceGridComponent, {static: true})
|
Readonly GRID_CONFIG_KEY |
Type : string
|
Default value : 'device-grid-bulk'
|
typeColumn |
Type : Column
|
Default value : new TypeDeviceGridColumn()
|
<c8y-device-grid
[title]="'Target devices' | translate"
[columnsConfigKey]="GRID_CONFIG_KEY"
[columns]="columns"
[infiniteScroll]="'auto'"
(onDeviceQueryStringChange)="onDeviceQueryStringChange.emit($event)"
></c8y-device-grid>