Page 1 of 1

Hide elipsis menu on related items

Posted: 09 Oct 2017
by vegard.grutle
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!

Re: Hide elipsis menu on related items

Posted: 09 Oct 2017
by Nikita Kurguzov
Hello, Vegard!
Try this:

Code: Select all

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

Re: Hide elipsis menu on related items

Posted: 09 Oct 2017
by vegard.grutle
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!

Re: Hide elipsis menu on related items

Posted: 10 Oct 2017
by Nikita Kurguzov
Just insert the script inside JavaScript editor and it should work:
JS editor.png
JS editor.png (8.6 KiB) Viewed 1461 times

Re: Hide elipsis menu on related items

Posted: 11 Oct 2017
by vegard.grutle
Hi!

Yes, that was what i did.

Re: Hide elipsis menu on related items

Posted: 11 Oct 2017
by Nikita Kurguzov
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.