File

device-list/device-list.component.ts

Metadata

Index

Properties
Methods

Constructor

constructor(deviceGridService: DeviceGridService, bsModalService: BsModalService)
Parameters :
Name Type Optional
deviceGridService DeviceGridService No
bsModalService BsModalService No

Methods

Async createSmartGroup
createSmartGroup()
Returns : any

Properties

count$
Default value : this.deviceGridService.getTotal({})
deviceQueryStringOutput
Type : string
filters
Type : FilterConfig[]
Default value : []
Readonly GRID_CONFIG_KEY
Type : string
Default value : 'device-grid-all'
<c8y-title>
  {{ 'All devices' | translate }}
</c8y-title>

<c8y-action-bar-item [placement]="'right'">
  <button
    class="btn btn-link"
    title="{{ 'Create smart group' | translate }}"
    (click)="createSmartGroup()"
  >
    <i c8yIcon="c8y-group-smart"></i>
    {{ 'Create smart group' | translate }}
  </button>
</c8y-action-bar-item>

<c8y-help src="/users-guide/device-management/#viewing-devices"></c8y-help>

<div class="content-fullpage">
  <c8y-device-grid
    [infiniteScroll]="(count$ | async) === undefined ? 'auto' : undefined"
    [columnsConfigKey]="GRID_CONFIG_KEY"
    (onDeviceQueryStringChange)="deviceQueryStringOutput = $event"
    (onFilterChange)="filters = $event"
  ></c8y-device-grid>
</div>

results matching ""

    No results matching ""