If you want to use the details view on a list or library and you don’t want to see the list of elements (maybe you need to show only one item, or you’re going to select that item on another webpart) you can hide it doing the following:
1. Edit Page.
2. Create a new Content Editor.
3. Edit HTML from Content Editor.
4. Write this in the HTML Source window:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script><script> $("document").ready(function () { $('div.ms-ppleft table tr td.ms-vb-title').first().trigger('onfocus'); $('div.ms-ppleft').hide(); var control = document.getElementById('idHomePageNewEvent') if (control) control.parentNode.parentNode.style.display="none"; })</script>
5. Save your changes, edit Content editor web part and hide it.
No Responses