SharePoint Page Issue

Daniel Brokhman 21 Reputation points
2022-05-29T18:50:20.03+00:00

Whenever I plug a list for a web part onto my page, the list columns are cut off because the web part container does not exist its width to auto.
Does anybody know how to make the container resize to auto by only using SharePoint online and not desktop. Also Im not allowed to use power apps or bi automate.

Your help would be greatly appreciated

206503-image.png

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,256 Reputation points
    2022-05-30T08:32:07.227+00:00

    Hi @Daniel Brokhman ,

    Unfortunately, based on my research and testing, it is not possible to make the container resize to auto size.

    As a workaround, you can try to use SPFX to create a custom web part and then enable support for full-width columns. Please refer to the documentation: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/basics/use-web-parts-full-width-column#enable-support-for-the-full-width-column

    Hope it can help you .Thanks for your understanding and support.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.