Hide elipsis menu on related items
- vegard.grutle
- Posts: 59
- Joined: Fri Mar 17, 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!
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!
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Vegard!
Try this:
Try this:
Code: Select all
$('.ms-ellipsis-a').hide();
Cheers
- vegard.grutle
- Posts: 59
- Joined: Fri Mar 17, 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!
I inserted the script on the edit form on the related item. Apparently nothing happened.
Please let me know if this is incorrect.
Thansk!
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Just insert the script inside JavaScript editor and it should work:
Cheers
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests