GotoRowTarget

data class GotoRowTarget(val rowId: String, val rowIndex: Int, val rowManager: RowManager?, val rowEntry: RowEntry?, val openRowForm: Boolean = false, val animate: Boolean = true, val focus: Boolean = false, val columnId: String? = null)

Target for row navigation within a table or collection field. Used by TableEditor and CollectionEditor when navigateTo is invoked.

Parameters

rowId

The row ID to navigate to.

rowIndex

Pre-computed index of the row (for tables: index in displaying rows; for collections: index in entries, or -1 if not applicable).

rowManager

The row manager for the target row (tables), or null.

rowEntry

The row entry for the target row (collections), or null.

openRowForm

Whether to open the row form modal.

animate

Whether to animate the scroll.

focus

If true and openRowForm is true, request focus on a field in the row form.

columnId

Optional column ID to scroll to and focus in RowForm mode. If provided and found, focuses the field for that column. If not found, focuses the first field.

Constructors

Link copied to clipboard
constructor(rowId: String, rowIndex: Int, rowManager: RowManager?, rowEntry: RowEntry?, openRowForm: Boolean = false, animate: Boolean = true, focus: Boolean = false, columnId: String? = null)

Properties

Link copied to clipboard
val animate: Boolean = true
Link copied to clipboard
val columnId: String? = null
Link copied to clipboard
val focus: Boolean = false
Link copied to clipboard
val openRowForm: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard