Show/Hide Page Columns in SharePoint Online Modern View

%3CLINGO-SUB%20id%3D%22lingo-sub-1243990%22%20slang%3D%22en-US%22%3ERe%3A%20Show%2FHide%20Page%20Columns%20in%20SharePoint%20Online%20Modern%20View%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1243990%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F589030%22%20target%3D%22_blank%22%3E%40RyanXExner%3C%2FA%3E%26nbsp%3Bthe%20only%20way%20that%20I%20can%20think%20this%20would%20be%20possible%20would%20be%20with%20Power%20Apps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%233366FF%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1243001%22%20slang%3D%22en-US%22%3EShow%2FHide%20Page%20Columns%20in%20SharePoint%20Online%20Modern%20View%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1243001%22%20slang%3D%22en-US%22%3E%3CP%3ECurrently%2C%20we%20have%20an%20dashboard%20in%20SharePoint%202013%20Classic%20Mode%20that%20we%20want%20to%20migrate%20to%20SharePoint%20Online%20Modern%20Mode.%20One%20of%20the%20requirements%20is%20to%20retain%20the%20ability%20to%20collapse%20and%20expand%20the%20side%20columns%20(it's%20a%203%20column%20layout).%20However%2C%20I%20can't%20seem%20to%20figure%20out%20a%20good%20way%20to%20do%20this%20in%20SFPx.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EModifying%20the%20CSS%20outside%20of%20our%20web%20part%20is%20prohibited%20by%20our%20internal%20governance%2C%20so%20that%20adds%20another%20complexity.%20An%20idea%20would%20be%20to%20develop%20a%20webpart%20for%20each%20section%20that%20we%20can%20use%20to%20show%2Fhide%2Fexpand%20each%20section.%20Within%20that%20webpart%2C%20we%20could%20add%20embed%20all%20of%20the%20webparts%20for%20each%20section.%20However%2C%20I%20can't%20find%20anything%20about%20how%20to%20embed%20webparts%20within%20webparts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20on%20how%20this%20could%20be%20possible%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1243001%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExtensibility%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EResponsive%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Senior Member

Currently, we have an dashboard in SharePoint 2013 Classic Mode that we want to migrate to SharePoint Online Modern Mode. One of the requirements is to retain the ability to collapse and expand the side columns (it's a 3 column layout). However, I can't seem to figure out a good way to do this in SFPx.

 

Modifying the CSS outside of our web part is prohibited by our internal governance, so that adds another complexity. An idea would be to develop a webpart for each section that we can use to show/hide/expand each section. Within that webpart, we could add embed all of the webparts for each section. However, I can't find anything about how to embed webparts within webparts.

 

Any ideas on how this could be possible?

1 Reply
Highlighted

@RyanXExner the only way that I can think this would be possible would be with Power Apps.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User