1

I'm using SharePoint 2010. Does anyone know a way to remove all of the properties/events from the column headers (th) so that it just displays the column name on a view?

I'm trying to create a printable view that doesn't have the dropdown boxes on the header fields. I'd rather stick with Jquery and not have to edit the page using SharePoint Designer?

Thank you.

1 Answer 1

1

You can do this via CSS as the following:

  • add script editor in your page > add this code

[Code]

 <style>
th .ms-core-menu-box, .ms-positionRelative
{
 display:none !important;
}
</style>
  • Stop edit.
  • Click on the header, you should note that there's no any functionality at columns header.

Also, check my article with the detail steps at Hide Open Menu at ListView Header via CSS in SharePoint

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.