Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am using Insert Data View function from SharePoint Designer 2007 to insert a list created in parent site to a child site. Now the list displays correctly.

My question is, how to hide the column name (displayed at the top of list content rows) in my child site (I want to show the list rows only, no need to show the list column name)?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

Since you are using a Data View you have the ability to modify the underlying XSLT. Go to the web part's properties and grab the source. Edit it in notepad or more friendly like VS.NET.

In this case, you just want to remove the TH row.

share|improve this answer
    
"have the ability to modify the underlying XSLT" -- can you show me how to modify XSLT? –  George2 Dec 22 '09 at 8:11
1  
From the browser, Edit the page, go to the web part and select "Modify Shared Web Part" then click the "XSL Editor" button at the top of the property page. This launches a pop-up with the XSL code that renders the output. It can be edited in place, but the formatting makes modifications difficult so I normally copy it into a different editor. Also, you have the option of linking to an XSL file somewhere else. A lot of times it is better to do that since you can maintain and version the file in a document library. –  Mike Oryszak Dec 22 '09 at 13:36
    
Thanks, question answered! –  George2 Dec 27 '09 at 13:48
add comment

I find that I can simply click oh the cell you are talking about and delete right from design mode. Otherwise as next_connect indicates the xslt can be modified directly. Probably the best way to go.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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