TableModel

@Serializable
data class TableModel(val id: String, val title: String = "", val tableHeaderModel: TableHeader, val tableRows: List<TableRowModel>)

Data class representing a table model.

Constructors

Link copied to clipboard
constructor(id: String, title: String = "", tableHeaderModel: TableHeader, tableRows: List<TableRowModel>)

Properties

Link copied to clipboard
val id: String

The unique identifier of the table.

Link copied to clipboard

The header of the table.

Link copied to clipboard

The rows of the table.

Link copied to clipboard

The title of the table.

Functions

Link copied to clipboard

Check if a cell has an error.

Link copied to clipboard
fun countChildrenOfSelectedHeader(headerRowIndex: Int, headerColumnIndex: Int): Map<Int, TableSelection.HeaderCellRange>
Link copied to clipboard

Get the next cell to be selected.

Link copied to clipboard

Check if the table has a cell with a specific ID.

Link copied to clipboard