Configure the Collapse And Expand View Events And Actions

You can use the Collapse and Expand view events and actions to control when views should expand or collapse, and what to do when a view expands or collapses. For example, you can use actions to populate a view with data 'on-demand'; in other words, instead of loading a view with data when the form initializes, only load the view with data if the form user specifically expands the view. This can help to improve form performance by delaying loading data until the form user wants to see the data. You can use the Load and Initialize methods when the view is expanded instead of when the form initializes, to minimize the delay time when a form opens.

Collapse a view when the form opens

View only loads when the view is expanded