
TableModel models the data of a table widget.
Slots
- halign
-
virtual Halign halign(Int col)
Get the horizontal alignment for specified column. Default is left.
- header
-
Get the header text for specified column.
- image
-
virtual Image image(Int col, Int row)
Get the image to display for specified cell or null.
- numCols
-
virtual Int numCols()
Get number of columns in table. Default returns 1.
- numRows
-
abstract Int numRows()
Get number of rows in table.
- text
-
abstract Str text(Int col, Int row)
Get the text to display for specified cell.