Is it possible to hide the header row, displaying column headers, for a specific view on a SharePoint 2010 publishing page? We've used this CSS to hide the column headings, but this is all or nothing; in other words, we can't hide and show the column header for an individual view:
tr.ms-viewheadertr{
display:none;
}
In addition, setting a TR's display to none
has other issues: IE7 can't handle display:table-row
when you need to show the column again; you have to use display:inline-block
for that one browser and the table-row
for modern browsers. Plus, this technique affects all of the views on the page rather than the specific one we need to handle.
Anyone know of a way to hide/show the column headings from the web part editor or some cleaner solution? Thanks.
$("table[summary*='List name']").each(function(){ $(this).find("tr:eq(0)").show(); });
, from here: code-journey.com/2011/…