gpt4 book ai didi

jquery - 如何在网格infragistic jquery中过滤日期格式(dd.MM.yyyy)的日期?

转载 作者:行者123 更新时间:2023-12-01 04:21:24 25 4
gpt4 key购买 nike

我在 jquery 中有代码:

我使用json来获取数据的来源。

这是示例 http://samples.infragistics.com/jquery/grid/advanced-filtering

               $("#tbl-visit-schedule").igGrid({
columns: [
{ headerText: "Date", key: "Date",dataType:"date",format:"dd.MM.yyyy" },
{ headerText: "Name", key: "Name", dataType: "string" },
{ headerText: "Siegle", key: "Siegle", dataType: "string" },
{ headerText: "Group", key: "Group", dataType: "string" },
{ headerText: "Status", key: "Status", dataType: "string" },
{headerText: "Action", key: "Action", dataType: "string" }
],
width: "550px",
height: "400px",
dataSource: jsonp,
features: [

{
name: 'Filtering',
allowFiltering: true,
type: 'local'

}
]
});

最佳答案

日期格式实际上仅用于显示目的。无论应用什么格式,过滤仍然相同。

关于jquery - 如何在网格infragistic jquery中过滤日期格式(dd.MM.yyyy)的日期?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10135913/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com