DropdownColumn

Single-select column storing the chosen option value.

Extends Column with DropdownSchema; the cell value is the selected option's String.

Properties

Link copied to clipboard
abstract val decorators: List<Decorator>

Optional list of decorators (icon/label chips) for this column header.

Link copied to clipboard
abstract var hidden: Boolean

Whether the element is hidden by default.

Link copied to clipboard
abstract val hiddenViews: List<String>

list of the view that should be hidden for this column.

Link copied to clipboard
abstract var id: String

Stable identifier of this schema node.

Link copied to clipboard

Initial hidden state; read from JSON at construction and remains immutable.

Link copied to clipboard
abstract val logic: ColumnLogic?

Optional conditional logic rules that control column visibility.

Link copied to clipboard
abstract val metadata: JoyMap

Arbitrary key-value map with column-specific settings.

Link copied to clipboard
abstract val options: List<Option>

Available Option entries rendered for selection.

Link copied to clipboard

When true, the field/column is permanently hidden on the current active view and cannot be shown via conditional logic.

Link copied to clipboard
abstract var required: Boolean

Whether a value is mandatory for this schema.

Link copied to clipboard
abstract var title: String

Human-readable label used in editors or viewers.

Link copied to clipboard
abstract var type: Type

Discriminant describing the concrete schema/component kind.

Link copied to clipboard
abstract val value: Any?

Runtime value payload; variance is specialized by sub-interfaces.

Functions

Link copied to clipboard
abstract fun toJsonObject(): JsonObject

Serializes this instance to a structured JsonObject.

Link copied to clipboard
abstract fun toJsonString(): String

Serializes this instance to a compact JSON string.

Link copied to clipboard
abstract fun toMap(): MutableMap<String, Any?>

Converts this instance into a mutable key-value map suitable for mutation and re-serialization.