Expand/collapse functionality in forms

Would it be possible to have expand/collapse functionality on forms? I know I can use booleans to show and hide rows, but on the home page for example I do not want to have too many dataviews - besides I am mainly displaying data grids and it would be great if the user could collapse/hide a datagrid for a cleaner more overseeable user interface.
1 answers

I am using mainly buttons (with plus OR minus sign) to display / not display objects. And indeed these buttons will tricker a microflow to set a boolean to display / not display objects and change the button from plus to minus (or the other way around). Trick is not to save the change of the boolean and therefore keep the standard value when opening a page by an user.