Hide elipsis menu on related items

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
vegard.grutle
Posts: 59
Joined: Fri Mar 17, 2017

09 Oct 2017

Hi!

I would like to hide the elipsis menu on related items.

I have tried to change 'FieldName' (linked to item with edit menu) to 'Field name' (linked to item) on the applicable view but it is still showing the elipsis menu.

Is there a way to hide the menu with a script in the JS Editor?


Thanks!

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

09 Oct 2017

Hello, Vegard!
Try this:

Code: Select all

$('.ms-ellipsis-a').hide();
Cheers

User avatar
vegard.grutle
Posts: 59
Joined: Fri Mar 17, 2017

09 Oct 2017

Hi!

I inserted the script on the edit form on the related item. Apparently nothing happened.

Please let me know if this is incorrect.

Thansk!

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

10 Oct 2017

Just insert the script inside JavaScript editor and it should work:
JS editor.png
JS editor.png (8.6 KiB) Viewed 1460 times
Cheers

User avatar
vegard.grutle
Posts: 59
Joined: Fri Mar 17, 2017

11 Oct 2017

Hi!

Yes, that was what i did.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

11 Oct 2017

Hmm, do you have any other code running on the page? If so, try to move this block to the beginning, so it doesn't interfere with the rest of the code. And show us a screenshot from the browser console on the page, please, perhaps there are some errors.
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests