TableEditor

Editor for table components. Provides row selection, column access, and filtering utilities. Value changes may trigger recalculation of dependent formulas and re-evaluation of row/column visibility.

Inheritors

Properties

Link copied to clipboard
abstract val columns: Columns

Column utilities and metadata.

Link copied to clipboard
abstract override val component: TableComponent

Underlying table component backing this editor.

Link copied to clipboard
abstract val disabled: Boolean

Whether the component is currently disabled.

Link copied to clipboard
abstract val filters: TableFilter

Active filters for the table.

Link copied to clipboard
abstract var hidden: Boolean
Link copied to clipboard
abstract var id: String
Link copied to clipboard
abstract var identifier: String

Unique editor identifier; affects formula dependency resolution.

Link copied to clipboard
open override val isMulti: Boolean
Link copied to clipboard
abstract var required: Boolean
Link copied to clipboard
abstract val rows: Rows<RowManager>

Row management API with access to managers per row.

Link copied to clipboard
abstract val selectedRowIds: Live<List<String>>

Reactive list of selected row ids.

Link copied to clipboard
abstract override val state: Live<TableEditorState>

Reactive state snapshot for table editor.

Link copied to clipboard
abstract val tip: ToolTip?

Optional tooltip associated with the component.

Link copied to clipboard
abstract var title: String
Link copied to clipboard
abstract var type: Type

Functions

Link copied to clipboard
abstract fun close()

Exit edit mode discarding transient UI state.

Link copied to clipboard
abstract fun edit()

Enter edit mode for the current row.

Link copied to clipboard
abstract fun hide()

Hide the component and update editor state accordingly.

Link copied to clipboard
abstract fun resolveConditions()

Re-compute conditional logic (hide/disable, etc.) for this component.

Link copied to clipboard
abstract fun select(item: RowManager?, origin: Origin = Origin.User): RowManager?
Link copied to clipboard
abstract fun selectAll()
Link copied to clipboard
abstract fun selection(): Selection
Link copied to clipboard
abstract fun setHiddenTo(value: Boolean, reason: HiddenReason, liveUpdate: Boolean = false)

Set hidden state explicitly.

Link copied to clipboard
abstract fun show()

Show the component and update editor state accordingly.

Link copied to clipboard
abstract fun submit(update: (Submission) -> Unit = {})

Submit row changes via update, supporting batched mutations.

Link copied to clipboard
fun ComponentEditor.tableEditor(rowId: String? = null, schemaId: String? = null, parentPath: String? = null): TableEditor?

Resolve a TableEditor for this ComponentEditor.

Link copied to clipboard
abstract fun toJsonObject(): JsonObject
Link copied to clipboard
abstract fun toJsonString(): String
Link copied to clipboard
abstract fun toMap(): MutableMap<String, Any?>
Link copied to clipboard
abstract fun unselect(item: RowManager?, origin: Origin = Origin.User): RowManager?
Link copied to clipboard
open fun unselectAll(origin: Origin = Origin.User)
Link copied to clipboard
abstract fun updateDependentsValues()

Recompute and push values to dependents driven by this component.

Link copied to clipboard
abstract fun validate(): ComponentValidity

Compute validity based on current data and constraints.