function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RajManiaRajMania 

How to hide Action column from related list

I am using related list in VF page, on display under related list grid, first column comes as Action (with Delete/edit or Approve/reject).

Is there any way to hide the Action coulmn.

 

Thanks

Raj

bob_buzzardbob_buzzard

The only way we've been able to accomplish this is by overriding the style for the elements of this column such that they appear in the same colour as the background.  Thus the action column is still there, but not "visible".  Unfortunately, this means that they are still taking up real estate on the screen.

 

 

CTechCTech

How can I do the same thing for the native page?

smrkepwaresmrkepware

You can set the display and visibility properties in CSS so the links do not show at all.

 

<style type="text/css">
.actionColumn {display:none; visibility:hidden}
</style>

mitzchauhanmitzchauhan

great - that just came in handy after scratching my head for half an hour!