Table
Table interface
struct representing a table
Members
area | table area | ||
columns | optional | string[] string[] | table column headers. normalize case before inserting. |
name | string string | table must have a name | |
sort | optional | sort data. sorts are hard, meaning we actually move data around. (not meaning difficult). we may keep track of the last sort so we can toggle asc/desc, for example. atm this will not survive serialization. | |
sortable | optional | boolean boolean | table is sortable. defaults to true. if false, disables UI sorting. |
theme | optional | theme for table. we have a default, but you can set explicitly. | |
totals_row | optional | boolean boolean | table has a totals row. this impacts layout and what's included in the range when you refer to a column. also on import/export, the AutoFilter element should exclude the totals row. NOTE: xlsx actually uses an integer for this -- can it be > 1? |
Referenced by
TREBDocument |
BaseCellData |