TableView::Column
| Category | struct |
| Type | hime_table_view_column_t |
Describe a column in TableView.
Properties
int id
A unique identifier for the column.
Default value is 0.
const char16_t* title
The title for the column.
Default value is u"".
int width
Set the width field to a positive number and the column will be given that width, in pixels.
Default value is -1.
float percent
A percentage of the available width.
If width is -1, and percent is > 0, the column is given a width of available_width * percent / total_percent.
If the width == -1 and percent == 0, the column is autosized based on the width of the column header text.
Default value is 0.
bool sortable
Whether the column is sortable.
Default value is false.