nested listview formatting

My end goal is to display data as categorized with column headings at the top. I have 2 listviews which are nested. The outer listview provides sorting, shows the category names and is based on entity A. The inner listview displays the data from entity B via a microflow. If I put column names on the inner listview, they show for each category rather than just at the top of the page. But the column names refer to the data in the inner listview. Any help is appreciated. Thanks, Tracy
1 answers

Remove all headers from the listviews and put them in a table, container or layout grid (depending on the listview content) outside the listviews. You can put all headings for all listviews in there. Use css classes to align the headers and the grid elements.