TableView::Column
Describe a column in TableView
.
Category | struct |
Type | hime_table_view_column_t |
Properties
int
id
A unique identifier for the column.
const char16_t*
title
The title for the column.
int
width
Set the width field to a positive number and the column will be given that width, in pixels.
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.
bool
sortable
Whether the column is sortable.