cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NikhilC
Level: Powered On

Web Part list "Add new item" link displays at bottom of the list.

Hi,

i am adding list in a page using webpart on sharepoint online modern view,

but list looks like old, "Add new item" link displays at the bottom of the list.

but i want it at the top with modern view.

 

Thanks.

1 REPLY 1
Super User
Super User

Re: Web Part list "Add new item" link displays at bottom of the list.

This is the Microsoft Flow Community Forums, so this is not the best place for thie question. However, I can provide some assistance. 

You cannot move the Add new item to the top of the SharePoint List webpart out of the box. You do have a couple of custom options however, including: 

  • Use jQuery to inject the Add new item link to the top of the webpart (source)
  • Add a custom Add new item HTML link  that points to the NewForm.aspx page, at the top of the Item List webpart, example: 
<a onclick='NewItem(event, "/Lists/YourList/NewForm.aspx"); return false;' href="javascript&colon;//">Add new item</a>

If you need further assistance with SharePoint, here are the available SharePoint communities:  

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 386 members 6,635 guests
Recent signins:
Please welcome our newest community members: