CellEvent

data class CellEvent<out E : ComponentEditor>(val source: E?, val page: Page, val rowIds: List<String>?, val schemaId: String? = null, val parentPath: String? = null, val id: String, val identifier: String, val fieldId: String = source?.id ?: "", val fieldIdentifier: String, val pageId: String = page.id, val fileId: String, val fieldPositionId: String, val target: String = Target.field_update) : ComponentEvent<E>

Table cell-level interaction carrying row/column and table context.

Constructors

Link copied to clipboard
constructor(source: E?, page: Page, rowIds: List<String>?, schemaId: String? = null, parentPath: String? = null, id: String, identifier: String, fieldId: String = source?.id ?: "", fieldIdentifier: String, pageId: String = page.id, fileId: String, fieldPositionId: String, target: String = Target.field_update)

Properties

Link copied to clipboard

Column id derived from the source Cell if available.

Link copied to clipboard
open override val fieldId: String

Table field id (defaults to source?.id ?: "").

Link copied to clipboard
open override val fieldIdentifier: String

Table field identifier.

Link copied to clipboard
open override val fieldPositionId: String

Layout position id for the table instance.

Link copied to clipboard
open override val fileId: String

File id that contains the page/table.

Link copied to clipboard
open override val id: String

Document id for the event.

Link copied to clipboard
open override val identifier: String

Document external identifier.

Link copied to clipboard
open override val multi: Boolean?

Whether the underlying file component supports multiple selection (if applicable).

Link copied to clipboard
open override val page: Page

The page containing the table.

Link copied to clipboard
open override val pageId: String

Page id where the table resides.

Link copied to clipboard
val parentPath: String? = null

Parent path for nested tables (e.g. "0.schema.1.child"), null for table.

Link copied to clipboard

Affected row ids; null means not row-specific.

Link copied to clipboard
val schemaId: String? = null

Target schema id for nested tables (collections), null for table.

Link copied to clipboard
open override val source: E?

The originating editor (nullable if not available).

Link copied to clipboard
open override val target: String

Change target identifier (defaults to Target.field_update).