Skip to main content

IProperty

Defined in: js-api/src/entities/property.ts:18

Represents a property. See also Property.

Properties

PropertyTypeDescriptionDefined in
caption?stringCustom field caption shown in [PropertyGrid] Deprecated The property will be removed soon. Use friendlyName insteadjs-api/src/entities/property.ts:87
category?stringCorresponding category on the context paneljs-api/src/entities/property.ts:69
choices?string[]List of choices. Applicable to string properties onlyjs-api/src/entities/property.ts:57
columnTypeFilter?ColumnTypeFilter | nullFilter for columns, can be numerical, numerical_no_datetime, categorical, datetime, categorical_or_datetime, or directly a column type (string, int...) Applicable when type = Columnjs-api/src/entities/property.ts:103
defaultValue?anyDefault value used for deserialization and cloning. See also initialValue.js-api/src/entities/property.ts:63
description?stringProperty descriptionjs-api/src/entities/property.ts:33
editor?stringCustom editor (such as slider or text area)js-api/src/entities/property.ts:66
fieldName?stringName of the corresponding JavaScript field. No need to specify it if it is the same as name.js-api/src/entities/property.ts:93
format?stringValue format, such as '0.000'js-api/src/entities/property.ts:72
friendlyName?stringCustom field friendly name shown in [PropertyGrid]js-api/src/entities/property.ts:90
initialValue?anyInitial value used when initializing UI. See also defaultValuejs-api/src/entities/property.ts:60
inputType?stringProperty input typejs-api/src/entities/property.ts:27
max?numberMaximum value. Applicable to numerical properties onlyjs-api/src/entities/property.ts:45
min?numberMinimum value. Applicable to numerical properties onlyjs-api/src/entities/property.ts:42
name?stringProperty namejs-api/src/entities/property.ts:21
nullable?booleanWhether an empty value is allowed. This is used by validators.js-api/src/entities/property.ts:30
options?anyAdditional options.js-api/src/entities/property.ts:98
semType?stringSemantic typejs-api/src/entities/property.ts:36
showPlusMinus?booleanWhether a plus/minus clicker appears next to the number input. Applies to numerical columns only.js-api/src/entities/property.ts:54
showSlider?booleanWhether a slider appears next to the number input. Applies to numerical columns only.js-api/src/entities/property.ts:51
step?numberStep to be used in a slider. Only applies to numerical properties.js-api/src/entities/property.ts:48
tags?any-js-api/src/entities/property.ts:95
type?stringProperty data type. See TYPE.js-api/src/entities/property.ts:24
units?stringUnits of measurement. See also: [postfix]js-api/src/entities/property.ts:39
userEditable?booleanWhether the property should be editable via the UIjs-api/src/entities/property.ts:75
validators?string[]List of validators. It can include [NAMED_VALIDATORS] as well as any pre-defined function names. Signature: validator(x: DG.Type): stringnull. [null] indicates that the value is valid, [string] describes a validation error.
valueValidators?ValueValidator<any>[]List of value validators (functions that take a value and return error message or null)js-api/src/entities/property.ts:83
viewer?string-js-api/src/entities/property.ts:106