Hide list column headers of all list view webparts on the page
- Add a Content Editor WebPart (CEWP) to the page
- Use the following CSS:
Hide column headers of a specific list view webpart
The method, described in the following blogpost will definitely work (find listview by title), but there is a downside with this method. What if the end user renames the list? Our solution will break.
I think it's safer to find a listview by URL. The URL is fixed and cannot be changed from the UI (only with SharePoint Designer).
- Add a Content Editor WebPart (CEWP) to the page
- Use the following JQuery script: !! Don't forget to change the URL to the URL of your list
No comments:
Post a Comment