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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.