Concatenate Headers?

Hi guys,


I hope you can help me out once again..
"concatenating" is the wrong word. 
What I want:
Two columns with its own header ('Einzelnetto' and 'Gesamtnetto') and a common "parent" header ('Preis').

I hope that the image explains better than I do ;)

 

You can use cell merging. See page 133 in the developers guide at http://www.tmssoftware.biz/download/manuals/TMS%20TAdvStringGrid%20Developers%20Guide.pdf
You can also have a look at demo 39: http://www.tmssoftware.com/site/asg39.asp

Thanks, I absolutely missed that...

Still a tiny problem left - there is no chance to keep both header names?
If I set the value after merging with grid.cells[x,y] := ... my layout is messed up. 

You'd need a cell for "Preis" that is the result of two horizontally merged cells and a separate cell for "Einzel netto" and one for "Gesamt netto". Other cells on the same row would then be vertically merged.

Thanks a lot for your help! :)