Since I still couldn’t solve the problem, I just put the feater’s request here.
Continuing the discussion from Display grouping in tables differently:
It would be very helpful if the table groupings were possible as sketched.
The width is limited when printing or PDF export. Every unnecessary line wastes valuable space. With the grouping always above the first entry, just as sketched, a lot of space could be saved.