Table::ColumnType
Type of Table
's column.
Header | #include "nativeui/table.h" |
Namespace | namespace nu |
Type | enum class |
This type can have following values:
Table::ColumnType::Text
- Renders readonly String value.Table::ColumnType::Edit
- LikeText
but allows user to edit the text.Table::ColumnType::Checkbox
- Renders a checkbox, the data type must be Boolean.Table::ColumnType::Custom
- Supports arbitrary type of data but a drawing function has to be provided. Note that native objects likeImage
can not be passed toTable
as data.