Field QML Type
Information about a field for a feature table. More...
Import Statement: | import Esri.ArcGISRuntime 100.10 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- alias : string
- domain : Domain
- editable : bool
- fieldType : Enums.FieldType
- length : int
- name : string
- nullable : bool
Signals
Detailed Description
Example:
Create a ServiceFeatureTable and obtain one of its fields:
ServiceFeatureTable {
id: serviceFeatureTable
url: sampleServerDamageInspectionUrl
onLoadStatusChanged: {
if (loadStatus === Enums.LoadStatusLoaded) {
var field = serviceFeatureTable.field("PRIMCAUSE");
var fieldName = field.name;
var fieldAlias = field.alias;
}
}
}
Property Documentation
The alias name of the field.
The alias name is usually more user-friendly than the actual field name, which may be constrained by the underlying data source's naming convention.
If there is no alias defined, this is an empty string.
domain : Domain |
Returns the domain that limits valid field values to a range or to a set of coded values (read-only).
The type of value in the field.
See also Enums.FieldType.
Signal Documentation
Emitted when the alias property changes.
Note: The corresponding handler is onAliasChanged
.
Emitted when the fieldType property changes.
Note: The corresponding handler is onFieldTypeChanged
.
Emitted when the length property changes.
Note: The corresponding handler is onLengthChanged
.
Emitted when the name property changes.
Note: The corresponding handler is onNameChanged
.