EntityProperty
A dynamic property associated with the entity.
Extends
Constructors
new EntityProperty()
new EntityProperty(
dart):EntityProperty
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
dart | readonly | any | undefined | - | Property.dart |
options | public | any | undefined | Additional options. | Property.options |
propertyOptions | static | object | ... | - | Property.propertyOptions |
propertyOptions.caption? | public | IProperty & IPropertyMeta | undefined | Custom field caption shown in [PropertyGrid] Deprecated The property will be removed soon. Use friendlyName instead | - |
propertyOptions.category? | public | IProperty & IPropertyMeta | undefined | Corresponding category on the context panel | - |
propertyOptions.choices? | public | IProperty & IPropertyMeta | undefined | List of choices. Applicable to string properties only | - |
propertyOptions.columnTypeFilter? | public | IProperty & IPropertyMeta | undefined | Filter for columns, can be numerical, categorical or directly a column type (string, int...) Applicable when type = Column | - |
propertyOptions.defaultValue? | public | IProperty & IPropertyMeta | undefined | Default value used for deserialization and cloning. See also initialValue. | - |
propertyOptions.description? | public | IProperty & IPropertyMeta | undefined | Property description | - |
propertyOptions.editor? | public | IProperty & IPropertyMeta | undefined | Custom editor (such as slider or text area) | - |
propertyOptions.fieldName? | public | IProperty & IPropertyMeta | undefined | Name of the corresponding JavaScript field. No need to specify it if it is the same as name. | - |
propertyOptions.format? | public | IProperty & IPropertyMeta | undefined | Value format, such as '0.000' | - |
propertyOptions.friendlyName? | public | IProperty & IPropertyMeta | undefined | Custom field friendly name shown in [PropertyGrid] | - |
propertyOptions.initialValue? | public | IProperty & IPropertyMeta | undefined | Initial value used when initializing UI. See also defaultValue | - |
propertyOptions.inputType? | public | IProperty & IPropertyMeta | undefined | Property input type | - |
propertyOptions.max? | public | IProperty & IPropertyMeta | undefined | Maximum value. Applicable to numerical properties only | - |
propertyOptions.min? | public | IProperty & IPropertyMeta | undefined | Minimum value. Applicable to numerical properties only | - |
propertyOptions.name? | public | IProperty & IPropertyMeta | undefined | Property name | - |
propertyOptions.nullable? | public | IProperty & IPropertyMeta | undefined | Whether an empty value is allowed. This is used by validators. | - |
propertyOptions.options? | public | IProperty & IPropertyMeta | undefined | Additional options. | - |
propertyOptions.semType? | public | IProperty & IPropertyMeta | undefined | Semantic type | - |
propertyOptions.showPlusMinus? | public | IProperty & IPropertyMeta | undefined | Whether a plus/minus clicker appears next to the number input. Applies to numerical columns only. | - |
propertyOptions.showSlider? | public | IProperty & IPropertyMeta | undefined | Whether a slider appears next to the number input. Applies to numerical columns only. | - |
propertyOptions.step? | public | IProperty & IPropertyMeta | undefined | Step to be used in a slider. Only applies to numerical properties. | - |
propertyOptions.tags? | public | IProperty & IPropertyMeta | undefined | - | - |
propertyOptions.type? | public | IProperty & IPropertyMeta | undefined | Property data type. See TYPE. | - |
propertyOptions.units? | public | IProperty & IPropertyMeta | undefined | Units of measurement. See also: [postfix] | - |
propertyOptions.userEditable? | public | IProperty & IPropertyMeta | undefined | Whether the property should be editable via the UI | - |
propertyOptions.validators? | public | IProperty & IPropertyMeta | undefined | List of validators. It can include [NAMED_VALIDATORS] as well as any pre-defined function names. Signature: validator(x: DG.Type): string | null. [null] indicates that the value is valid, [string] describes a validation error. | - |
propertyOptions.valueValidators? | public | IProperty & IPropertyMeta | undefined | List of value validators (functions that take a value and return error message or null) | - |
propertyOptions.viewer? | public | IProperty & IPropertyMeta | undefined | - | - |
Accessors
caption
getcaption():string
Custom field caption shown in the UI
Deprecated
The property will be removed soon. Use friendlyName instead
setcaption(s):void
Custom field caption shown in [PropertyGrid]