TableHeaderCell

@ObjCName(name = "TeyaTableHeaderCell", exact = true)
data class TableHeaderCell(val element: RowElement.Text, val weight: Float = 1.0f)

Represents a header cell in a table layout for defining a receipt structure.

Each TableHeaderCell is associated with a text element and is used to define the header section of a table. It includes a proportional weight that determines the cell's width relative to other header cells in the table.

Constructors

Link copied to clipboard
constructor(element: RowElement.Text, weight: Float = 1.0f)

Properties

Link copied to clipboard

The text element contained within the header cell. Provides the content of the cell.

Link copied to clipboard
val weight: Float = 1.0f

The proportional width of the header cell. Defaults to 1f.