Disable "new item" on related items when in display-mode
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear UDRO,
You can do it with the following code:
Replace 0 with the index of the Related Items control.
You can do it with the following code:
Code: Select all
fd.relatedItems()[0].find('.ms-list-addnew').hide();
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests