Column visibility for top which hides the grouped columns underneath it?

Column visibility for top which hides the grouped columns underneath it?

SavCoSavCo Posts: 1Questions: 1Answers: 0

I have a datatable with complex headers:
<tr><th>A </th><th colspan="2">B </th><th>C</th></tr>
<tr><th>A.1 </th><th>B.1</th><th>B.2</th><th>C</th></tr>

When I use column visibility, I want to only show the top header as options: A,B,C
Presently , I am seeing A, B.1,B.2,C--

It seems like this would be a simple functionality that is baked in but I have yet to find it.

This discussion has been closed.