日期筛选器2013 [英] Date Filter 2013

查看:53
本文介绍了日期筛选器2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我在sharepoint中有包含列的列表.交易方式,开始日期和结束日期.我添加了两个AE筛选器Web部件来筛选日期.问题在于它仅过滤到特定日期.例如:

我的列表

足球训练;开始日期:10/03/2016;结束日期:2016年10月5日

排球训练;开始日期:10/05/2016;结束日期:2016年10月15日

曲棍球训练;开始日期:2016年10月20日;结束日期:2016年10月30日

例如我想看看在10月3日到10月30日之间进行哪些培训.我在开始日期选择10月3日,在结束日期选择10月30日.

,由于开始日期与开始日期"相关,因此未显示任何结果.结束日期为结束日期".但是我需要知道如何升级我的过滤器,因此我的过滤器开始日期和结束日期会在列表上设置一个区域,其中多个 显示列表条目

解决方案

以下是供您参考的解决方案:

这是我的运动清单,与你的.

首先,我们应删除AllItems.aspx通过SharePoint Designer.单击编辑列表",如下所示:

然后,在SharePoint Designer中单击所有项目",然后 下一步使用高级模式"编辑此页面.

接下来,将列表的数据视图插入< ZoneTemplate>"内部标签.

然后,我们将看到刚创建的新列表Web部件.现在,我们在此列表中添加了两个新参数,以便从日期"过滤器Web部件接收参数.

添加完参数后,我们需要使用这两个参数为我们的列表列设置过滤器,然后 单击保存"按钮以在SharePoint Designer中保存您的更改.


然后,刷新浏览器,我们将看到在AllItems.aspx页面中有两个列表Web部件,一个是原始部件,另一个是我们创建的部件.接下来,我们需要设置 日期过滤器Web部件的连接.像下面这样:


然后,单击编辑Web部件"以设置默认值.


在另一个日期进行相同的过程过滤Web部件.

现在保存页面并打开并备份在浏览器中,您将看到想要的!

结果截屏如下,我想向您展示两个Web部件,以便进行比较.

更多信息供您参考:

http://www.nothingbutsharepoint.com/2011/08/18/sharepoint-list-filtering-date-range-aspx/

最好的问候,

Lee Liu


Hello,

I have list in sharepoint which has the columns  arte of traiing,start date and end date. I added two AE Filter Web Parts to filter the Dates. The problem is it is only filtering to a specific date. For example:

My List

Footbal Training; Start Date: 10/03/2016 ; End Date: 10/05/2016

Volleyball Training; Start Date: 10/05/2016 ; End Date: 10/15/2016

Hockey Training; Start Date: 10/20/2016 ; End Date: 10/30/2016

e.g. I want to see which trainings are between the third october and the 30. October. Im choosing Ocober 3 in Start date and October 30 in End Date. 

and no result can be found is displayed, because the start dates relates to "Start date" and end date to "End date". But I need to know how I can upgrade my Filters so my Filters Start- and End date sets a area upon the list where multiple list entrys are displayed

解决方案

Hi,

Here is a solution for your reference:

Here is my Sport list which is similar with yours.

First, we should edit out AllItems.aspx via SharePoint Designer. Click "Edit list" as below:

Then, click "All Items" in SharePoint Designer and edit this page with "Advanced Mode" next.

Next, Insert a Data View of your list inside the "<ZoneTemplate>" tag.

Then ,we will see the new list web part that we just created. Now we add two new parameters to this list for receiving parameters from Date filter web part.

After we finished adding parameters, we need to use these two parameters to set filter for our list column, then click the "save" button to Save your change in SharePoint Designer.


Then, refresh our browser, we will see two list web part in AllItems.aspx page, one is original and another is we created. Next, we need to set the connection of Date Filter web part. Do like below:


Then, click "Edit Web Part" to set a default value.


Go through the same process with the another date filter web part.

Now save the page and open it back up in your browser and you will see what you want !

Screenshot of result as below, I'd like to show you two web parts for the convenience of comparison.

More information for your reference:

http://www.nothingbutsharepoint.com/2011/08/18/sharepoint-list-filtering-by-date-range-aspx/

Best regards,

Lee Liu


这篇关于日期筛选器2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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