File

operations/device-selector/device-selector.component.ts

Implements

OnInit OnDestroy

Metadata

selector c8y-device-selector
templateUrl device-selector.component.html

Index

Properties
Methods
Inputs
Outputs

Inputs

deviceTypes

Type : Observable<string[]>

Outputs

onDeviceQueryStringChange $event Type: EventEmitter<string>

Methods

ngOnDestroy
ngOnDestroy()
Returns : void
ngOnInit
ngOnInit()
Returns : void

Properties

columns
columns: Column[]
Type : Column[]
Default value : [ new StatusDeviceGridColumn(), new NameDeviceGridColumn(), this.typeColumn, new ModelDeviceGridColumn(), new GroupDeviceGridColumn(), new RegistrationDateDeviceGridColumn(), new AlarmsDeviceGridColumn() ]
deviceGrid
deviceGrid: DeviceGridComponent
Type : DeviceGridComponent
Decorators :
@ViewChild(DeviceGridComponent, {static: undefined})
typeColumn
typeColumn: Column
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>

result-matching ""

    No results matching ""