Forum Discussion
Martin Sagerstrand
Nov 12, 2018Brass Contributor
Modern Document Library Webpart full width
Hi All, I got a question from a user stating that they wonder why the Document Library webpart does not span the full width of the page? Any settings I'm missing or is this by design and cannot b...
ArefHalmstrand
Jan 28, 2021Steel Contributor
I have uploaded an image here as example when using full width of the page.
Yours sincerely,
Aref Halmstrand
- carry2webJan 28, 2021Copper ContributorArefHalmstrand thank you for your follow up. Exactly that: it requires a custom webpart.
Why does Microsoft not provide the option ootb?
I cannot understand.- Martin SagerstrandJan 28, 2021Brass Contributor
Nice,
yes that is a shame, this should def. be an OOTB feature
//Martin
- Carry4IT MegensFeb 04, 2021Brass ContributorOk, at least I posted a User Voice - cast your votes please: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/42628189-full-width-modern-document-library-webpart
- sadiqnaNov 25, 2021Copper Contributor
Can you please guide me with sample code in this regard ,how to achieve this using webpart spfx ?. I am beginner on spfx development.
- Carry4IT MegensNov 25, 2021Brass Contributor
sadiqna
First setup your environment
Get started with the SharePoint Framework - Learn | Microsoft Docs
Then this is a good blog post for your first custom webpartCreate Web Part With SharePoint Framework (SPFx) (c-sharpcorner.com)
- Carry4IT MegensNov 25, 2021Brass ContributorWhile this got my attention and still no solution, I posted the same question on new feedback portal since uservoice got abandonned, your votes here please: https://feedbackportal.microsoft.com/feedback/idea/1312eb2c-f94d-ec11-a819-0022484f395d