how to hide 'Actions and Selected rows'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 10:53 PM
Hi,
I have a requirement to hide 'Actions and Selected rows' on the change list view for ITIL users.
None of the users should be able to see this except Admin users. Please tell me how to achieve this functionality.
Thanks!
Raj
- 3,934 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2016 08:28 PM
Hi Raj,
Note: Using DOM may have risks during upgrades.
Create a UI script as shown below
script:
addLoadEvent(setTitle);
function setTitle(){
if((document.URL.indexOf("change_request_list")>-1) && !g_user.hasRole("admin")){
var divsToHide = document.getElementsByClassName("list_decoration col-control col-small col-center "); //divsToHide is an array
for(var i = 0; i < divsToHide.length; i++){
divsToHide[i].style.visibility = "hidden"; // or
divsToHide[i].style.display = "none"; // depending on what you're doing
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2025 07:40 AM
@Abhinay Erra Do you know if this works with "Assign Tag"? I'm not having any luck.