Dynamic Pages ~ Hide Sections

I am creating an events website. They run events, in person and online. I need to create a collection so that they can easily add events and courses as needed and it will be styled properly. Each event is slightly differnent. All of them will use a title and description, but one might have a video, another might have a gallery, another may or may not use a pricing section.

I want the client to be able to add in the content they need for that event and then for the page to dynamically show the section that have content and hide the ones that have no content e.g. show photo gallery as it has photos added, but hide the video section as there is no video for this event.

How can I do this in EditorX?

This could work for the elements connected to data, but not for the sections on Dynamic page. What you need to do is set filters for the page: https://support.wix.com/en/article/filtering-database-content-displayed-on-your-page#adding-a-filter-to-your-dataset

and select filter which will be set as - not empty