For the needs: "preparing views to display/hide columns" you can use Data Group & Outline as in this example Init.ods
Clicking on a number at the top of the column shrinks the structure of that element. Clicking on + or - shrinks/expands the element.