I'm trying to remove the View-Details menu item on the entity list through javascript. I've tried the following commands in Javascript. I normally do not have any issue showing/hiding fields but this one seems to be giving me a hard time. I cannot simply remove the table permission on the web roles of the current user because I want to maintain that this certain user role still be able to view the records.