Implementations are provided for darwin, unix, and windows.
Notes: The column is the index of the column when it was added to the table. It might be nice to be able to set a numeric identifier, similar to how table columns are handled on darwin. Or possibly even introducing a uiTableColumn type and cleaning up the uiTableAppendColumn API. This would however break the existing API, so I left it out for the time being.
Proposal for introducing an enum sort type
uiSort
:Two functions for setting table header sort indicators (only visual, no sorting is performed):
And a setter for a header on clicked callback function:
Implementations are provided for darwin, unix, and windows.
Notes: The column is the index of the column when it was added to the table. It might be nice to be able to set a numeric identifier, similar to how table columns are handled on darwin. Or possibly even introducing a
uiTableColumn
type and cleaning up theuiTableAppendColumn
API. This would however break the existing API, so I left it out for the time being.