Related Items
We are using SP365 on line. Two Questions:
1. On a related item view, is it possible to move the "+Add New Item" link from the bottom of the Related Items view to the top of the view? No change in functionality, just location. The Related Items view is sorted by Date, descending, showing the newest item at the top. The user has to scroll all the way down to the bottom of the list view to add a new item.
2. The form has multiple tabs with different related items on each. Can I perform the above request on selected tabs?
Thanks in advance.
JFred
1. On a related item view, is it possible to move the "+Add New Item" link from the bottom of the Related Items view to the top of the view? No change in functionality, just location. The Related Items view is sorted by Date, descending, showing the newest item at the top. The user has to scroll all the way down to the bottom of the list view to add a new item.
2. The form has multiple tabs with different related items on each. Can I perform the above request on selected tabs?
Thanks in advance.
JFred
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Please, assign a CSS class to a particular Related items control in Forms Designer e.g. 'related-items'. Next, put the following code into JS-editor:
The code above switches table with related items and the New item link for the particular Related items control.
Please, assign a CSS class to a particular Related items control in Forms Designer e.g. 'related-items'. Next, put the following code into JS-editor:
Code: Select all
$('.related-items .ms-addnew').closest('table').after($('.related-items table:eq(0)'));
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests