I need to add a simple style to a Tableview based on a query in Delphi. I need it to look like this:
I know there's a way to group by fields, but I can't seem to figure out how to add the 2 main title fields to the header of the table.
This can be done using the BandedTableView. This view allows you to arrange columns by Bands (in your case, there will be two bands: Main title1 and Main title 2. NOTE, that it is impossible to show a column without a band in this view. So, you will also have to create an additional band for the Prim_Key column.