Skip to main content

BindProp

Defined in: js-api/src/u2core/protocol.ts:81

One enumerated binding step: a property (typed, semType included) plus what the picker needs — no probing, no signal creation during enumeration.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
caption?stringCustom field caption shown in [PropertyGrid] Deprecated The property will be removed soon. Use friendlyName insteadNamedProperty.captionjs-api/src/entities/property-meta.ts:73
category?stringCorresponding category on the context panel; groups the property in a property panel.NamedProperty.categoryjs-api/src/entities/property-meta.ts:63
choices?string[]List of choices. Applicable to string properties onlyNamedProperty.choicesjs-api/src/entities/property-meta.ts:56
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 = ColumnNamedProperty.columnTypeFilterjs-api/src/entities/property-meta.ts:111
default?booleanWhat bindStep('') answers — a path that stops at the source binds here.-js-api/src/u2core/protocol.ts:87
defaultValue?anyDefault value used for deserialization and cloning. See also initialValue.NamedProperty.defaultValuejs-api/src/entities/property-meta.ts:90
description?stringProperty descriptionNamedProperty.descriptionjs-api/src/entities/property-meta.ts:32
editor?stringPlatform editor hint ('textarea', 'password', 'switch', 'slider'), consulted next, and only for the types Dart honors it for (input_base.dart:702-728).NamedProperty.editorjs-api/src/entities/property-meta.ts:60
fieldName?stringName of the corresponding JavaScript field. No need to specify it if it is the same as name.NamedProperty.fieldNamejs-api/src/entities/property-meta.ts:101
format?stringValue format, such as '0.000', applied through DG.format where the platform is loaded.NamedProperty.formatjs-api/src/entities/property-meta.ts:66
friendlyName?stringCustom field friendly name shown in [PropertyGrid]NamedProperty.friendlyNamejs-api/src/entities/property-meta.ts:69
get?PropertyGetterReads the property value off an object. A property with no set renders read-only.NamedProperty.getjs-api/src/entities/property-meta.ts:81
initialValue?anyInitial value used when initializing UI. See also defaultValueNamedProperty.initialValuejs-api/src/entities/property-meta.ts:87
inputType?stringPlatform InputType ('Radio', 'Color', 'Tags'…): the editor named here wins over every other hint, as it does in input_base.dart:668.NamedProperty.inputTypejs-api/src/entities/property-meta.ts:26
max?numberMaximum value. Applicable to numerical properties onlyNamedProperty.maxjs-api/src/entities/property-meta.ts:44
min?numberMinimum value. Applicable to numerical properties onlyNamedProperty.minjs-api/src/entities/property-meta.ts:41
namestringProperty nameNamedProperty.namejs-api/src/u2core/protocol.ts:65
nullable?booleanWhether an empty value is allowed. This is used by validators.NamedProperty.nullablejs-api/src/entities/property-meta.ts:29
options?anyAdditional options.NamedProperty.optionsjs-api/src/entities/property-meta.ts:106
propertyType?stringProperty data type; same as type, and read first where both appear (as on a DG.Property).NamedProperty.propertyTypejs-api/src/entities/property-meta.ts:22
semType?stringSemantic typeNamedProperty.semTypejs-api/src/entities/property-meta.ts:35
set?PropertySetterWrites the property value to an object.NamedProperty.setjs-api/src/entities/property-meta.ts:84
showPlusMinus?booleanWhether a plus/minus clicker appears next to the number input. Applies to numerical columns only.NamedProperty.showPlusMinusjs-api/src/entities/property-meta.ts:53
showSlider?booleanWhether a slider appears next to the number input. Applies to numerical columns only.NamedProperty.showSliderjs-api/src/entities/property-meta.ts:50
step?numberStep to be used in a slider. Only applies to numerical properties.NamedProperty.stepjs-api/src/entities/property-meta.ts:47
tags?any-NamedProperty.tagsjs-api/src/entities/property-meta.ts:103
type?stringProperty data type. See TYPE.NamedProperty.typejs-api/src/entities/property-meta.ts:19
units?stringUnits of measurement. See also: [postfix]NamedProperty.unitsjs-api/src/entities/property-meta.ts:38
userEditable?booleanWhether the property should be editable via the UINamedProperty.userEditablejs-api/src/entities/property-meta.ts:116
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.NamedProperty.validators
valueValidators?ValueValidator<any>[]List of value validators (functions that take a value and return error message or null)NamedProperty.valueValidatorsjs-api/src/entities/property-meta.ts:98
viewer?string-NamedProperty.viewerjs-api/src/entities/property-meta.ts:113
walkable?booleanbindStep(name) answers another source — the picker renders an expandable node.-js-api/src/u2core/protocol.ts:83
writable?booleanThe leaf is a writable signal — two-way capable.-js-api/src/u2core/protocol.ts:85