2

I have a list on a Team Site-based (customised site definition) site collection. I want display its contents on the front page of the site in a web part with the list title and one field only in the detail display (in a boxed view) but remove the column header. There doesn't seem to be an option to do this in the edit web part dialogue. Is there some way to get rid of the column headers other than making a custom list?

2 Answers 2

2

DataViewWebPart?

jQuery would work too.

3
  • Full display control with the DVWP. I'd go that way. Commented Mar 11, 2010 at 12:49
  • Yup DVWP, easy peasy! Cannot believe Marc is recommending DVWP or JQuery ;-) Commented Mar 11, 2010 at 13:30
  • You and your wry wit. DVWPs can move mountains. Commented Mar 11, 2010 at 14:56
0

If this is a custom site definition do you have access to the schema.xml file for the list? It is easy to create a different view that does exactly what you want and then you can use the view on your page.

Another option is to use javascript or jQuery to hide it.

1
  • Yes, we have done that with our custom lists that form part of the site definition but this is a standard list and web part that someone has added to the site later so we don't have access to the schema. Commented Feb 25, 2010 at 2:54

Your Answer

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

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