CollectionEditor
Editor for collection components (array-like rows of sub-fields). Provides row selection, expansion, and CRUD-like operations.
Properties
Underlying collection component backing this editor.
Decorators (icon/label) for this component; from field or column when in a table cell.
Active filters applied to the visible rows.
Reactive signal for programmatic focus. When focus is called, the UI observes this and requests focus on the field. After the UI handles the request, it should call clearFocusRequest. Gaining focus triggers onFocus in the Form.
Observable target for row navigation. Set when goto is called. UI should observe this and perform scroll/open form, then call clearGotoRowTarget.
Unique editor identifier; affects formula dependency resolution.
Reactive state snapshot of the collection editor.
Functions
Insert a new form row after the current selection.
Clear the focus request. Called by the UI after it has requested focus, so that subsequent focus calls can trigger again.
Clear the current goto row target. Called by UI after navigation is handled.
Open the edit form directly with a RowManager. This is useful for navigating to nested rows without expanding parent rows first.
Enter edit mode for the selected row.
Enter edit mode for a row.
Find a RowManager by row ID in the entire collection hierarchy (including nested/collapsed rows). This searches through the raw data structure, not the UI entries.
Request focus on this field. Triggers focusRequest, which the UI observes to perform FocusRequester.requestFocus. When focus is gained, onFocus is invoked automatically via the normal focus flow.
Navigate to a specific row within this collection.
Re-compute conditional logic (hide/disable, etc.) for this component.
Root table editor that renders and manages the collection's rows.
Select all rows within a table entry.
Current selection information for a table entry.
Set hidden state explicitly.
Submit row changes via update, supporting batched mutations.
Resolve a TableEditor for this ComponentEditor.
Find a table editor for the given schema id (root or nested). Used by column conditional logic to resolve nested tables.
Recompute and push values to dependents driven by this component.
Compute validity based on current data and constraints.