当过滤器字段为空时,文本过滤器显示所有列表项 [英] Text Filter showing all list items when filter field is empty

查看:100
本文介绍了当过滤器字段为空时,文本过滤器显示所有列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在页面上有一个文本过滤器,可根据文本过滤器的内容过滤列表。 这样可以正常工作,但是,当文本过滤器为空时,列表会显示所有数据。


如何让它不显示任何数据?


<请注意,我无法访问SharePoint Designer。

解决方案

Hi Stellakebab,


我不确定我是否理解了您的问题,根据我的理解,您正在尝试默认隐藏列表项,并且当用户在过滤器中填充内容时应显示该项。


如果是这样,那么您可以修改列表视图,例如ID小于1,然后默认情况下所有项目都将从视图中隐藏




I have a text filter on a page that filters a list based on the contents of the text filter.  This works fine, however, when the text filter is blank, the list shows all data.

How do I get it to not show any data?

Please note that I do not have access to SharePoint Designer.

解决方案

Hi Stellakebab,

I am not sure i have understood your question , based on my understanding you are trying to hide the list item by default and should be display the item when the user filled content in filter.

if so, then you can modify the view of your list like ID less than 1, then by default all item will get hide from the view


这篇关于当过滤器字段为空时,文本过滤器显示所有列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆