numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
18 stars 6 forks source link

Virtual table header grouping #68

Closed numeredev closed 1 year ago

numeredev commented 1 year ago

DESCRIPTION

What does your feature request improve on? Please describe. Sometimes it is necessary to group certain columns within a table to a common group using a single headline. The table viewer and editor could support that virtually by automatically merge equal cells in the table headlines together (Would also be true for single lines in a multi-line headlines)

Describe the solution you'd like Provide a possibility to merge common cells in the table headlines (if they are next to each other) into a single cell spanning multiple columns. This shall only work horizontal and only a visual thing (not represented in the internal data model).

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

Seems that this isn't too hard to do using the void wxGrid::SetCellSize() method. Might be necessary to evaluate, when and how to recalculate the spanning of cells.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST