operations/device-selector/device-selector.component.ts
selector | c8y-device-selector |
templateUrl | device-selector.component.html |
Properties |
Methods |
Inputs |
Outputs |
deviceTypes
|
Type : |
onDeviceQueryStringChange
|
$event Type: EventEmitter<string>
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
columns |
columns:
|
Type : Column[]
|
Default value : [
new StatusDeviceGridColumn(),
new NameDeviceGridColumn(),
this.typeColumn,
new ModelDeviceGridColumn(),
new GroupDeviceGridColumn(),
new RegistrationDateDeviceGridColumn(),
new AlarmsDeviceGridColumn()
]
|
deviceGrid |
deviceGrid:
|
Type : DeviceGridComponent
|
Decorators :
@ViewChild(DeviceGridComponent, {static: undefined})
|
typeColumn |
typeColumn:
|
Type : Column
|
Default value : new TypeDeviceGridColumn()
|
<c8y-device-grid
[title]="'Select target devices' | translate"
[columns]="columns"
[actionControls]="[]"
[infiniteScroll]="'auto'"
(onDeviceQueryStringChange)="onDeviceQueryStringChange.emit($event)"
>
<div class="c8y-empty-state">
<h1 c8yIcon="search"></h1>
<div>
<p>
<strong>{{ 'No matching devices.' | translate }}</strong>
</p>
<small>{{ 'Refine your search terms' | translate }}</small>
</div>
</div>
</c8y-device-grid>