Basic Web Part Design Question in SharePoint Server Design and Customization  
 |  Edit my Profile  |  Help
 
     
  
 
 
 
Joe 2/23/2007 7:14 AM PST
  Question
  I feel silly for having to ask this, but I simply have not found a way to do
this yet.

I have a basic out of the box WSS 3.0 site. I have a link web part and a
document library web part. The link web part has no headings. The document
library has headings such as Type, Name, and Modified By. I want to remove
that whole heading section from my library web part. I'd like to just have
the type icons, names, and modified by names, but NOT have the heading for
those columns?

I thought changing the toolbar type to none would do this, but no luck.
I've done a bunch of searching but there are too many more complicated
questions that seem to obfuscate finding the answer to this easy one.

THANKS!

 
  Was this post helpful to you?  
 
 
  Reply | Print post   TopTop  
 
 
 
 
Mark Parsons 3/1/2007 4:01 PM PST
  Answer
  Hi joe,

The answer is that you cannot do this with the ListViewWebPart customization
features that SharePoint Designer and the web UI offer you. To do this, open
the page in SharePoint Designer, convert the ListViewWebPart to an "XSLT Data
View", which actually converts it to a DataFormWebPart. At this point, the
look and feel for your list is the same, but you now have a web part that you
have many more customization options with. You can now select the heading
fields, go to code and you'll see the XSLT that displays them. Even if you
dont know XSLT at all, its pretty intuitive. Remove the display of the
headings here.

This precise problem is how I first got into data views.

For more information on data views, DataFormWebParts, ListViewWebParts and
DatatViewWebParts, which are all interrelated, see the following 2 posts on
my blog:

http://www.sharepointplatform.com/teamblog/Lists/Posts/ViewPost.aspx?ID=42
http://www.sharepointplatform.com/teamblog/Lists/Posts/ViewPost.aspx?ID=43


--
_______________________________
Mark Parsons | Distributed Logic
mark.parsons@distributedlogic.com
Our Blog: http://www.sharepointplatform.com/teamblog


"Joe" wrote:

> I feel silly for having to ask this, but I simply have not found a way to do
> this yet.
>
> I have a basic out of the box WSS 3.0 site. I have a link web part and a
> document library web part. The link web part has no headings. The document
> library has headings such as Type, Name, and Modified By. I want to remove
> that whole heading section from my library web part. I'd like to just have
> the type icons, names, and modified by names, but NOT have the heading for
> those columns?
>
> I thought changing the toolbar type to none would do this, but no luck.
> I've done a bunch of searching but there are too many more complicated
> questions that seem to obfuscate finding the answer to this easy one.
>
> THANKS!
>
>
 
  Was this post helpful to you?  
 
 
  Reply | Print post   TopTop  
 
 
 
 
Joe 3/1/2007 5:45 PM PST
   
  Wow, nice response. First, I don't feel so bad for not knowing. Second, I
got an answer, third, I got an intro into a whole new set of functionality (I
don't have much time to be able to investigate WSS, unfortunately, so most of
my learning comes from things like this)

Thanks!!!

"Mark Parsons" wrote:

> Hi joe,
>
> The answer is that you cannot do this with the ListViewWebPart customization
> features that SharePoint Designer and the web UI offer you. To do this, open
> the page in SharePoint Designer, convert the ListViewWebPart to an "XSLT Data
> View", which actually converts it to a DataFormWebPart. At this point, the
> look and feel for your list is the same, but you now have a web part that you
> have many more customization options with. You can now select the heading
> fields, go to code and you'll see the XSLT that displays them. Even if you
> dont know XSLT at all, its pretty intuitive. Remove the display of the
> headings here.
>
> This precise problem is how I first got into data views.
>
> For more information on data views, DataFormWebParts, ListViewWebParts and
> DatatViewWebParts, which are all interrelated, see the following 2 posts on
> my blog:
>
> http://www.sharepointplatform.com/teamblog/Lists/Posts/ViewPost.aspx?ID=42
> http://www.sharepointplatform.com/teamblog/Lists/Posts/ViewPost.aspx?ID=43
>
>
> --
> _______________________________
> Mark Parsons | Distributed Logic
> mark.parsons@distributedlogic.com
> Our Blog: http://www.sharepointplatform.com/teamblog
>
>
> "Joe" wrote:
>
> > I feel silly for having to ask this, but I simply have not found a way to do
> > this yet.
> >
> > I have a basic out of the box WSS 3.0 site. I have a link web part and a
> > document library web part. The link web part has no headings. The document
> > library has headings such as Type, Name, and Modified By. I want to remove
> > that whole heading section from my library web part. I'd like to just have
> > the type icons, names, and modified by names, but NOT have the heading for
> > those columns?
> >
> > I thought changing the toolbar type to none would do this, but no luck.
> > I've done a bunch of searching but there are too many more complicated
> > questions that seem to obfuscate finding the answer to this easy one.
> >
> > THANKS!
> >
> >
 
  Was this post helpful to you?  
 
 
  Reply | Print post   TopTop  
 
 
  Return to Microsoft Communities  Notify me of replies