tableEditor

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

Resolve a TableEditor for this ComponentEditor.

  • If this is a table, returns itself.

  • If this is a collection, returns a nested table editor selected by rowId, schemaId, or parentPath (in that order of precedence).

Return

The resolved TableEditor, or null if not applicable.

Parameters

rowId

Row to search for when locating a nested table editor.

schemaId

Target schema id for nested tables within a collection.

parentPath

Dotted path for nested tables (e.g. "0.schema.1.child").