Information about a field for a feature table. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- alias : string
- domain : Domain
- editable : bool
- fieldType : Enums.FieldType
- length : int
- name : string
- nullable : bool
Signals
- aliasChanged()
- domainChanged()
- editableChanged()
- fieldTypeChanged()
- lengthChanged()
- nameChanged()
- nullableChanged()
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.
Note: This property is read-write starting with 100.14. It was read-only in prior releases.
Returns whether the field is editable.
Note: This property is read-write starting with 100.14. It was read-only in prior releases.
The type of value in the field.
See also Enums.FieldType.
Returns whether the field can accept null values.
Note: This property is read-write starting with 100.14. It was read-only in prior releases.
Signal Documentation
Emitted when the alias property changes.
Note: The corresponding handler is onAliasChanged
.
Emitted when the domain property changes.
Note: The corresponding handler is onDomainChanged
.
This signal was introduced in Esri::ArcGISRuntime 100.14.
Emitted when the editable property changes.
Note: The corresponding handler is onEditableChanged
.
This signal was introduced in Esri::ArcGISRuntime 100.14.
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
.
Emitted when the nullable property changes.
Note: The corresponding handler is onNullableChanged
.
This signal was introduced in Esri::ArcGISRuntime 100.14.