operations/device-selector/device-selector.component.ts
OnInit
OnDestroy
| providers |
UserPreferencesConfigurationStrategy
GRID_CONFIG_CONTEXT
|
| selector | c8y-device-selector |
| imports |
DeviceGridComponent
ProductExperienceDirective
C8yTranslatePipe
|
| 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})
|
| Static Readonly GRID_CONFIG_CONTEXT |
Type : UserPreferencesGridConfigContext
|
Default value : {
key: GRID_CONFIG_KEY,
configFilter: {
filter: false
}
}
|
| typeColumn |
Type : Column
|
Default value : new TypeDeviceGridColumn()
|
<c8y-device-grid
[title]="'Target devices' | translate"
[columns]="columns"
[infiniteScroll]="'auto'"
[showSearch]="false"
(onDeviceQueryStringChange)="onDeviceQueryStringChange.emit($event)"
c8yProductExperience
[actionName]="'bulkOperations'"
></c8y-device-grid>