How to disable a sharepoint 2010 list column through sharepoint designer?

SharePoint 2007: How to disable filtering and sorting in column header

  • SharePoint 2007: How can I disable filtering and sorting in column header of one column, while keeping it enabled for other columns? I have a page with a list view web part. One column, which displays a photo, has the ajax filter and sort capability in the column header, and I want to disable it for this particular column. How can I do that? Surely there is code out there that I can put into a CEWP on the page. I'd prefer not go into the 12 hive to alter anything.

  • Answer:

    In your CEWP: <style> .ms-viewheadertr { display: none !important } </style> if that looks goofy, there are a couple other styles around that part of the table that might also work. Let me know how it turns out.

momzilla at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.