TableCell

@Serializable
data class TableCell(val id: String, val row: Int? = null, val column: Int, val value: String?, val editable: Boolean = true, val mandatory: Boolean? = false, val error: String? = null, val warning: String? = null, val legendColor: Int? = null, val isMultiText: Boolean = false)

Data class representing a cell in a table.

Constructors

Link copied to clipboard
constructor(id: String, row: Int? = null, column: Int, value: String?, editable: Boolean = true, mandatory: Boolean? = false, error: String? = null, warning: String? = null, legendColor: Int? = null, isMultiText: Boolean = false)

Properties

Link copied to clipboard
val column: Int

The column index of the cell.

Link copied to clipboard
val editable: Boolean = true

Indicates if the cell is editable.

Link copied to clipboard
val error: String? = null

The error message associated with the cell, if any.

Link copied to clipboard
val id: String

The unique identifier of the cell.

Link copied to clipboard
val isMultiText: Boolean = false

Indicates if the cell supports multiple lines of text.

Link copied to clipboard
val legendColor: Int? = null

The color associated with the cell's legend.

Link copied to clipboard
val mandatory: Boolean? = false

Indicates if the cell is mandatory.

Link copied to clipboard
val row: Int? = null

The row index of the cell.

Link copied to clipboard

The value contained in the cell.

Link copied to clipboard
val warning: String? = null

The warning message associated with the cell, if any.

Functions

Link copied to clipboard

Retrieves the error or warning message of the cell.

Link copied to clipboard

Checks if the cell has either an error or a warning.