I’ve connected SpListFilterWebPart filter to the list and it works fine filtering the list except that I can’t clear filter selection. That is, once filter is applied to the list, little “filter” icon appears on the filtered column. Once I click on it, drop down appears with “Clear Filter from...” option. i want to remove this option.

here is the screenshot...

Any help?

  • can you paste some HTML code which is getting generated for this option, we might be able to hide this option via jquery. For that please edit your question with html which is getting generated for for this dropdown. You can use developer tool to get this html Nov 22, 2016 at 11:00
  • And if is possible, could you post a printscreen pointing where is the option that you want to remove. Nov 22, 2016 at 11:44
  • No need for jQuery, target it with a higher Specificity CSS selector Nov 22, 2016 at 14:22
  • @ThalesChemenian i have shared the screenshot of my listview. i dont want to show that filter icon or in other words i want to disable filtering for users
    – M.Ali
    Nov 23, 2016 at 8:01

1 Answer 1


Add Script Editor WebPart/Content Editor WebPart on listview page. Add following css in webpart.

.ms-listviewtable li[class="ms-core-menu-item"]:nth-child(n+3) {
  display:none !important;   

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.