Table Cell
Represents an individual cell inside a table row with optional spanning, alignment, background, padding, border, and actions.
Constructors
TableCell
TableCell creates a new table cell with the given content.
Methods
| Method | Description |
|---|---|
Action(action func()) | Action sets an optional click/tap action for the cell. |
Alignment(alignment Alignment) | Alignment sets the alignment for the cell content. |
BackgroundColor(backgroundColor Color) | BackgroundColor sets the background color of the cell. |
Border(border Border) | Border sets the border of the cell. |
ColSpan(colSpan int) | ColSpan sets how many columns this cell spans. |
HoveredBackgroundColor(backgroundColor Color) | HoveredBackgroundColor sets the background color when the cell is hovered. |
Padding(padding Padding) | Padding sets the padding of the cell. |
RowSpan(rowSpan int) | RowSpan sets how many rows this cell spans. |