Complex table design
Solved
General and Desktop
-
Hello, i try make complex table for day plan.
My first (naive) solution:
- left table with units (emulate frozen columns; 2 columns table with header)
- center table with 96 columns (day by quarter hours, table with header)
- top table with hours (96 columns and row span; hiden table header)
- synchronize scrollbars
- own paintEvents for tables and headers for better looks
Is it good way or top and center table merge? One table without header. TableModel with table header data. In model row types as HeaderHours, HeaderMinutes, Data.
int TableModel::rowCount() const { return HEADER_ROWS_COUNT + data_.size(); }
Thank you for your advices
-