Package-level declarations

Functions

Link copied to clipboard
fun DocumentEditor.append(fieldId: String, targetIndex: Int, cellUpdates: Map<Column, Any?>, rowId: String? = null, schemaId: String? = null, parentPath: String? = null)

Appends a new row to a table at a specified target index.

Link copied to clipboard

Applies a change log to the document editor.

Link copied to clipboard
fun DocumentEditor.columnsFor(fieldId: String, schemaId: String? = null): List<Column>?

Retrieves the columns for a specific table field.

Link copied to clipboard
fun DocumentEditor.move(fieldId: String, rowId: String, toIndex: Int, schemaId: String? = null)

Moves a table row to a new position within the table.

Link copied to clipboard
fun DocumentEditor.remove(fieldId: String, rowId: String, schemaId: String? = null)

Removes a specific row from a table.

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
fun DocumentEditor.update(fieldId: String, cellUpdates: Map<Column, Any?>, rowId: String? = null, schemaId: String? = null)

Updates a table row with new cell values.