Wed 25 Apr 2012

In sharepoint, if it is required to disable the filter and to keep only the sorting, then following workaround could be the solution one.
(Following change are done to sharepoint 2010 using sharepoint designer 2010, might be it works for 2007 aswell)

Please keep the copy of file(s) which you are going to change, incase if some mishap happen J

·         Open the desired sharepoint site in sharepoint designer

·         Select Lists and Libraries from the Site Objects

·         Select desired list / library

·         Select the desired view from the views list where you want to remove to remove filter

·         Click on advance mode

·         Search for the <ViewFields> inside <XmlDefinition>

·         Now add following desired attribute to all desired columns. (All column are  <FieldRef Name="ModifiedOn" />)


 <FieldRef Name=" ModifiedOn " LinkToItem="TRUE" Filterable="FALSE" FilterDisableMessage="No filter available "/>

After that, edit the page where the list / library webpart exists or add webpart (list / library) if not already added on the page,  edit webpart properties and select the desired view again then click apply button to reflect changes.


In above,

·         You can change the default text for disabled filter using FilterDisableMessage="No filter available " attribute

·         By adding Filterable="FALSE", now the filter will not be available

·         If you want to make a particular column clickable, then add LinkToItem="TRUE"


Comments (4)


11/27/2012 | Ram Priya  United States
U are a star.. it worked like a charm
11/22/2016 | Anonymous  Islamic Republic of Pakistan
what we do if the column is dropdown type?
9/30/2019 | Dorofei Mishin  Denmark
Such a һelpful artiсⅼe! Certainly a must-read and a discovery!
This actually been very helpful to mе thank you.
10/5/2019 | Philemon  Sri Lanka
Greɑt! Thank you for this guide!

Add Comment Post comment

   Country flag



Next Post  Previous Post : Ghalasa - Lets smile - Full funny
Previous Post  Next Post : Badshah aur Behis Awam