Hide column header in a SharePoint list web part view ?

 Hi ALl,
I have a links list in SharePoint 2010 and created a custom standard view to show links on home page.
I want to hide header column for that particular created list web part view.I have used following css but it's hide all list
and libraries header column.
.ms-viewheadertr
  display: none;
I want to hide specific list web part view column hide.
Following is a snap in this i want to hide URL column in this view.
Thanks,
Balaji More

You can add the following to an .xsl file and link to it in the "Miscellaneous" options when you edit the web part. By doing it this way, you can reuse the same style sheet over and over.
This xsl basically overrides a couple of templates located in the "vwstyles.xsl" file, and removes the lines that add the header.
(This code works in production, but I may not have replicated it properly in this forum, so please test first.)
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema"
xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt"
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:SharePoint="Microsoft.SharePoint.WebControls"
xmlns:ddwrt2="urn:frontpage:internal"
xmlns:o="urn:schemas-microsoft-com:office:office">
<xsl:include href="/_layouts/xsl/main.xsl"/>
<xsl:include href="/_layouts/xsl/internal.xsl"/>
<xsl:template match="View" mode="full">
<xsl:apply-templates select="." mode="RenderView" />
<xsl:apply-templates mode="footer" select="." />
</xsl:template>
<!-- Boxed and Boxed No Labels -->
<!-- Issues Boxed and Boxed No Labels -->
<xsl:template match="View[ViewStyle=/@ID='12' or ViewStyle=/@ID='13' or ViewStyle=/@ID='18' or ViewStyle=/@ID='19']" mode="full">
<xsl:apply-templates select="." mode="RenderView" />
</xsl:template>
</xsl:stylesheet>
DH

Similar Messages

  • Cacade Sharepoint List Web Part

    hi,
    I created a custom view and insert 2 SP List Filter to filter the list content.
    The 2 SP List Filters are related, for example:
    Filter #1 - list of companies.
    Filter #2 - list of employees.
    I would like the Filter #2 to display only the list of employees for the selected company in Filter #2.
    How to accomplish this?
    Thank you.

    Hi Chuaky,
    Based on your description, I  understand what you want is that when you click a column in the list of companies, the list of employees display the 
    Corresponding items.
    You can implement your requirement  as the following:
    1.Create a companies list and create a column named company.
    2.Create a employees list and it also contains a column named company.
    3.Add the two lists into one page.
    4.On the page, click page ribbon --click edit , at companies list web part, choose edit web part--Connection--Send Row of Data to-- choose 
    employees--choose Get filter Values from--choose "Provider Field Name: company (from companies list), Consumer Field Name: company (from employee list)"--finish.
    5.The companies list web part will automatically add  a column named Select, click select, now what you want is finished.
    Besides the above, There are is a link which you can use as a reference:
    http://blogs.technet.com/b/rajbugga/archive/2013/04/25/creating-connected-web-parts-in-sharepoint.aspx
    Best  regards,
    Wendy Li
    TechNet Community Support

  • How to limit the number of items in a KPI Status list web part?

    How to limit the number of items in a KPI Status list web part? There is no paging option for Business Category Status list or any limit can be made by changing the Item limit in default view unlike other SharePoint List web parts. So How to achieve it?
    Kindly help.
    Regards,
    ZA
    zzzSharePoint

    Hi,
    According your post, I know you would like to set the item display limit in Status List web part.
    In the web part, the number of items to display is based on the view which you selected when configuring the web part. The default view for status list is status list view.
    However, I am not able to limit the items’ display number of the status list view. After changing the items limit, the list item displayed would not match the number specified by Item Limit. Thus, it is not possible to limit the number
    of items in the Status list web part.
    It could be a potential issue in SharePoint 2010.
    We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
    Appreciate your time and efforts.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to I hide column heading completely ?

    There is a similar post on 10g - How to I hide column heading completely ?
    The solution is - To achieve this, go to Edit Table View, open Table View Properties. Here you should see an option called 'Display table and column Headings'. Here set its value to 'No column or table headings'.
    I'm on 11.1.1.5 and when I go to Edit Table view -> Table View properties -> Display Folder & Column Headings , I see four values as below but there is no value 'No column or table headings'. The values are -
    -Only column headings
    -As separate rows
    -As Folder.column
    -As Folder.column (where needed)
    Is this 'No column or table headings' value no more available in 11.1.1.5 ? Is there any alternative method to achieve this?
    I'm able to hide the column header using various ways e.g. setting Display Heading option, but when I download the results it has either the header present or an empty row. In 10g the option 'No column or table headings' removed the header completely from the download file.
    Any suggestions please?

    Anybody has any thoughts on why 'No column or table headings' option is removed from 11g or is it just 11.1.1.5?
    Is this a bug or any other feature has been provided to achieve the same?

  • List web part column alignment: how to change?

    I have a wide list web part but all the three columns are aligned to left. So there is a huge white area on the right. Was it like this also in 2010? Can I change it so that the columns would be spread also to right?

    Try these steps:
    Open the page containing the list web part in Edit mode
    Open the web part's settings panel
    Set the web part's width as desired

  • Business Data List Web Part

    Hi all,
    I am using the Business Data List Web Part to show and search data from external database as following link
    http://msdn.microsoft.com/en-us/library/office/ms493107(v=office.12).aspx
    But the Business Data List Web Part doesn't allow me to choose one or multiple items as other SP lists. I mean it doesn't have the CheckBox column. How could I have it?
    Thanks

    Hi,
    According to your description, Business Data List Web Part which data from external database doesn't have the check box column.
    I have done a test in my SharePoint 2013, and I met the same issue with you. Although I defined the edit action for the external content types, I still couldn’t edit a record from business data list web part.
    I would suggest you to use External List. In this case you will be able to Add/Edit/View item if your External Content Type has all operations.
    Here is a blog about how to Create an External List, you can use as a reference:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/01/07/how-to-create-external-list-including-database-from-sharepoint-designer-2013.aspx
    beside, here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/1a958e61-2c73-472c-83c7-443466aefcf8/edit-item-in-business-datra-list-webpart
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Cannot get URL web part filter to pass Parameter to List web part

    How do I wire an out-of-the-box URL web part filter to a SharePoint 2013 list (or "app" as renamed in 2013) web part when the list has a parameter?
    My SharePoint list uses a parameter because it needs a Contains filter, as in
         <Where>
          <Contains>
           <FieldRef Name="MyFieldName"/>
           <Value Type="Note">{MyParam}</Value>
          </Contains>
         </Where>
    The ParameterBinding is defined simply.
    <ParameterBinding Name="CohortParam" DefaultValue=""/>
    It has had Location="None" in the past, but another forum entry that I read suggested removing that.
    When I add the list (or "app" in SharePoint 2013) to a web part page and also add a URL Filter web part, the URL filter cannot see the parameter. The menu chain Connection >> Send Filter Values To >> [My List web part name] shows
    the dialogue. On the "Choose Connection" tab, I choose "Get Parameter Values From". Clicking the "Configure" button results in the "Configure Connection" tab having the message "The Consumer Web Part did not
    provide schema information".

    Hi Randy,
    You need to change the "MyParam" to "CohortParam", for parameterbinding element we need to add the location attribute as below codeline, then when we use the QueryString "CohortParam" with value in url, it will directly
    filter the list web part items without adding URL Filter web part.
    <ParameterBinding Name="CohortParam" Location="QueryString(CohortParam)" DefaultValue=""/>
    I attached my resutls as below image (also "MyParam" can be changed to "CohortParam" if you want), you can take a look.
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Status List Web Part corrupting other Web Parts!!

    Hello,
    I am using the Project Site Template and have observed a very strange behavior when I add a Status List (with status indicators) to the overall "Home" page: It seems to be corrupting other web parts located on the same page. I.e. the
    timeline is suddenly displayed twice and the newsfeed has no entries anymore.
    Has anyone got experience with this?? I couldn't find anything similar here!
    Kind regards..  

    Hi,
    According to your description, my understanding is that the status list web parts in your page only load completely for the first one.
    I made a test in my SharePoint 2013 environment, and the status list web part can all load properly in the page.
    Did your environment install the latest CU updates ?
    I suggest you can install the latest CU updates and test if it works.
    SharePoint CU download link:
    http://blogs.technet.com/b/steve_chen/archive/2013/03/26/3561010.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Status list web part indicators keeps on loading

    Hi,
    When I am using more than 1 status list web part on a page, only the first one loads completly.
    Rest are in loading status.
    Please assist.

    Hi,
    According to your description, my understanding is that the status list web parts in your page only load completely for the first one.
    I made a test in my SharePoint 2013 environment, and the status list web part can all load properly in the page.
    Did your environment install the latest CU updates ?
    I suggest you can install the latest CU updates and test if it works.
    SharePoint CU download link:
    http://blogs.technet.com/b/steve_chen/archive/2013/03/26/3561010.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • List web part -show search box (disappears)

    hello everyone, 
    I used list web part in my page and checked the show search box. but, when i save the page and publish, this search box disappears. 

    Hi Sultannur,
    Please check if it could help with switching to "Summary Toolbar" in web part property, or patch the latest cumulative update for SharePoint 2013 and check result again.
    http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/fb263f21-b733-4d3b-a872-08aae8a65763/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Export to PDF in Sharepoint Custom web part.

    Hi,
    I want to export my page to pdf in sharepoint custm web part. I am using below code to export to pdf. when i click the export button i am getting below
    Error. how to resolve this error? pLease help me.
    Code
    protected void ExporttoPDF_Click(object sender, EventArgs e)
                Response.ContentType = "application/pdf";
                Response.AddHeader("content-disposition", "attachment;filename=ExporttoPDF.pdf");
                Response.Cache.SetCacheability(HttpCacheability.NoCache);
                StringWriter sw = new StringWriter();
                HtmlTextWriter hw = new HtmlTextWriter(sw);
                this.Page.RenderControl(hw);
                StringReader sr = new StringReader(sw.ToString());
                Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 100f, 0f);
                HTMLWorker htmlparser = new HTMLWorker(pdfDoc);
                PdfWriter.GetInstance(pdfDoc, Response.OutputStream);
                pdfDoc.Open();
                htmlparser.Parse(sr);
                pdfDoc.Close();
                Response.Write(pdfDoc);
                Response.End();
    Error 
    Server Error in '/' Application.
    RegisterForEventValidation can only be called during Render();
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.InvalidOperationException: RegisterForEventValidation can only be called during Render();
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [InvalidOperationException: RegisterForEventValidation can only be called during Render();]
       System.Web.UI.ClientScriptManager.RegisterForEventValidation(String uniqueId, String argument) +11081278
       System.Web.UI.WebControls.TextBox.AddAttributesToRender(HtmlTextWriter writer) +455
       System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +27
       System.Web.UI.WebControls.TextBox.Render(HtmlTextWriter writer) +27
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +411
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Page.Render(HtmlTextWriter writer) +38
       Microsoft.SharePoint.WebPartPages.WikiEditPage.Render(HtmlTextWriter writer) +207
       PayrollProject.PaySlip4Employee.PaySlip4EmployeeUserControl.btnPDF_Click(Object sender, EventArgs e) +425
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474 

    Hi,
    We know that the Page.EnableEventValidation property is set to true(The default is true.),  Sharepoint Custom web(ASP.NET Web) validates that a control event originated from the user interface that was rendered by that control. A control registers its
    events during rendering and then validates the events during postback or callback handling.
    If you write client script freely,you might have to set "EnableEventValidation = false" in your C# code behind,but this method may be troublesome in SharePoint,
     so the method of "sadomovalex"( http://sadomovalex.blogspot.in/) is a good idea.
    Best Regards

  • Js Query External List Web Part

    I am trying to appply a Js Query to higlight those rows in the external List which have the word "pending". I did this by adding the JS Query in the existing web Part which contains the external list.  The below js query does not seem to be
    working. Let me know your thoughts. Thx!
    Below is my js query.
    <script type="text/javascript">
    $(document).ready(function(){
    $Text = $("td .ms-vb2:contains('Pending')");
    $Text.parent().css("background-color", "#461B7E");
    var myelement = $Text.parent().parent();
    $Text = $("td .ms-vb2:contains('Rejected')");
    $Text.parent().css("background-color", "#4CC417");
    $Text = $("td .ms-vb2:contains('In Progress')");
    $Text.parent().css("background-color", "#EAC117");
    </script>

    Hi,
    The External List Web Part is not finish loading even after the page loaded, so we can use setTimeout method to delay executing your code.
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    setTimeout(SetHighLight,1000);
    function SetHighLight() {
    $Text = $("td .ms-vb2:contains('Pending')");
    $Text.parent().css("background-color", "#461B7E");
    $Text = $("td .ms-vb2:contains('Rejected')");
    $Text.parent().css("background-color", "#4CC417");
    $Text = $("td .ms-vb2:contains('In Progress')");
    $Text.parent().css("background-color", "#EAC117");
    </script>
    Best regards
    Dennis Guo
    TechNet Community Support

  • While opening SharePoint List in Datasheet view it is asking for credentials always

    Hi All..
    While i am opening a SharePoint List in datasheet view it is asking for credentials again and again.....please help if you have any information..
    Thanks

    Hi Aditya,
        In Internet Explorer, go to 'Tools'
        Click on 'Internet Options'
        Open 'Security' tab, then click on "Trusted Sites" Zone   
        Add SharePoint Site's URL to the Trusted Sites zone. (Make sure you are adding FQDN of the site. E.g. Add: http://SharePoint.Crescent.com rather "*.Crescent.com" 
    Hope it helps :)
    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer

  • How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part

    Dear all,
    How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part?
    We've connected the SQL Server Analysis Services (OLAP) with Voyager, but how to create the dashboard/reporting/pivot-table/KPI with the web-part created with Business Object Enterprise?
    Thank you,
    Julius Fenata

    I am also looking at:
    1. Saving Webi reports on a SharePoint server.
    2. Launching BOBJ report viewer from the SharePoint server using SOA to view these reports.
    Has anyone done something similar? Any ideas and/or documentation available on this?
    Thanks,
    Kashif

Maybe you are looking for

  • Ipad 2 as a present.

    My mom has mentioned she wants an ipad 2, so I decided I ll buy her one but Im not sure what size to get her. She says she would want to watch movies and tv shows, have some music ( Im not sure how much. On her last ipod nano she didnt have much.). S

  • Cannot pair my iphone to laptop using bluetooth

    why i can't pair my iphone3GS to my sony vaio laptop using bluetooth? My friend can pair his iphone to laptop but when i try using his laptop to pair my iphone it cannot. can someone help me i think is the problem from my iphone.

  • Bid Evalution Report Error

    Hi Guys,    We are facing problem with Bid Evaluation report. We have created one bid invitation with some dynamic attributes in one sequence. Bidders are able to submit their bids in the same sequence.  We are able to receive the values in same orde

  • JRE not found error

    Hi All, I am getting following error while starting WebLogic - The JRE was not found in directory C:\Users\bi\Oracle_BI1\jdk. (JAVA_HOME) Please edit your environment and set the JAVA_HOME variable to point to the root directory of your Java installa

  • App error 523 reset... PLEASE HELP!!!!

    First I lost my camera app. Then I started getting the message:APP ERROR 523. RESET. Help needed.