assets-navigator/asset-selector/asset-selector.model.ts
Properties |
|
| columnHeaders |
columnHeaders:
|
Type : boolean
|
| Optional |
|
displays a column header on every column when using the miller view. |
| groupsOnly |
groupsOnly:
|
| Optional |
|
Set this to true, if the selector should only show groups. |
| groupsSelectable |
groupsSelectable:
|
| Optional |
|
Set this true, if groups should be selectable. |
| index |
index:
|
Type : number
|
| Optional |
|
Used only for miller-view, displays the column level for the current node. E.g if the index is one, this will be second column. |
| label |
label:
|
Type : string
|
| Optional |
|
Defines a label to be shown to the user. |
| multi |
multi:
|
Type : boolean
|
| Optional |
|
Can the user select multiple assets. |
| required |
required:
|
Type : boolean
|
| Optional |
|
Set to true to mark it as required on a form. |
| search |
search:
|
Type : boolean
|
| Optional |
|
Enable to display global search in the asset-selector (only possible whithout device context). |
| selectedColumns |
selectedColumns:
|
Type : IIdentified[] | IIdentified
|
| Optional |
|
Used only for single column, the array contains all selected columns. |
| selectedDevices |
selectedDevices:
|
Type : IIdentified | IIdentified[]
|
| Optional |
|
Already selected devices. |
| showChildDevices |
showChildDevices:
|
Type : boolean
|
| Optional |
|
Devices with children can be selected to show their child devices. |
| showFilter |
showFilter:
|
Type : boolean
|
| Optional |
|
displays a filter input on every column when using the miller view. |
| showUnassignedDevices |
showUnassignedDevices:
|
Type : boolean
|
| Optional |
|
Displays all unassigned devices in a custom root group. |
| singleColumn |
singleColumn:
|
Type : boolean
|
| Optional |
|
Displays only the select column. |
| view |
view:
|
Type : "tree" | "miller"
|
| Optional |
|
Set the view of the asset selector with tree view as default. |