You can build extra custom header rows to add to your records table by using a regular table. The extra rows are then merged with your table records. All you need to make sure when designing the table is that the number of columns in the bottom row of your header table is the same as in the data table. A JS will then merge the two tables so that the cells of each column become aligned.
Then you can customize the CSS styling to your liking.
First release of the asset.