We have a number of custom lists, and on some of the larger ones the sidebar popping up is undesirable. We added Filter=1 to the links to the lists which turns on the filters at the top, which is great.

The issue we have is when someone selects a filter the filters at the top go away. Is there a way to keep them on all the time? I wasn't sure how to access the onchange property, or if there is an easier way.




I've never done this. but..

You could try to modify the XSLT of the WebPart.

enter image description here

In the default XSLT the filters are rendered when $dvt_adhocmode equals filter. I'm not sure how one would get hold of the default XSLT to modify, since you're using "online"...

Beware that this would only work in classic pages (i.e. on the "old" list view webpart). The better solution would be to design "better" views.

| improve this answer | |

You don't need to add "?Filter=1" to the links to the lists which turns on the filters at the top.

You can just use column header filter.

enter image description here



| improve this answer | |
  • Using the header filters works most of the time, but on the larger lists it opens a sidecar for the filters. That shrinks the screen and covers up some of the data. Also on the larger lists there is a hefty delay loading the filter values – Robert Sullivan May 22 '19 at 21:46
  • It’s the default behavior. And unfortunately, we are not able to keep them on all the time. – Lisa Chen MSFT May 28 '19 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.