如何将多个过滤器应用于共享点列表
我有包含几列的共享点列表 - 月份、年份和一些自定义数据。我想提供 2 个下拉列表以允许用户选择月份和年份来过滤行。
- 我添加了月份的“选择过滤器”Web 部件,并将连接设置为列表(这有效)。
- 我今年添加了第二个“选择过滤器”,我也想做同样的事情。但是,我无法设置与列表的连接,因为 mylist 在 Web 部件菜单“编辑->连接->将过滤器值发送到”中被禁用。
如何应用 2 个过滤标准?
谢谢,
尤拉吉
I have sharepoint list with several columns - month, year and some custom data. I want to provide 2 dropdowns to allow user select month and year to filter rows.
- I added "Choice Filter" webpart for month and set connection to list (this works).
- I added second "Choice Filter" for year and I wanted to do the same. However, I cannot set connection to list, because mylist is disabled in webpart menu "Edit->Connections->Send filter values to".
How can I apply 2 filtering criteria?
Thanks,
Juraj
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
列表视图 WEbpart 一次仅允许 1 个连接(来源,查看“过滤列表视图 Wep 部件的方法”标题下的注释),因此所描述的方法将不起作用。不过,有一种解决方法:通过 SharePoint Designer 使用数据视图 WEbPart(DVWP 或 DFWP(有时称为数据表单 Web 部件))来创建模仿列表视图的 Web 部件。
DVWP 随所有版本的 sharepoint 一起提供,基本上是一个常规的 gridview,并且在显示列表数据方面几乎是最可定制的 Web 部件。
The List View WEbpart allows only 1 connection at a time (source, look at the notes under the "Ways to filter a List View Wep Part" header) so the described approach won't work. There is a work around though: by using the Data View WEbPart (DVWP or DFWP (Data Form webpart as it is sometimes called)) through SharePoint Designer to create a webpart that mimics a list view.
The DVWP ships with all versions of sharepoint and is basically a regular gridview, and pretty much the most customizable webpart there is when it comes to displaying list data.