问题描述
part of my date column filter--
.Filterable(filterable => filterable.Extra(true).UI("customdatefilter")
.Operators(operators => operators
.ForDate(date => date.Clear()
.IsGreaterThanorEqualTo("Is greater than or equal to")
.IsLessthanorEqualTo("Is less than or equal to")
.IsEqualTo("Is equal to");
and my js custom function--
function customdatefilter(element) {
element.kendoDatePicker({
format: "MM/yyyy",dateInput: true,start: "year",parseFormats: ["MM/yyyy"],depth: "year",min: new Date(2000,01,01)
});
}
我当前在网格中使用MM / yyyy格式,因此搜索日期选项也应为MM / yyyy。但是,因此,如果我搜索“大于或等于09/2020”,
它省略了09/2020并返回10/2020,依此类推。我注意到,如果将搜索日期格式更改为MM / dd / yyyy并选择09/01/2020,则“大于或等于09/2020”将包括09/2020。
是否可以使用MM / yyyy格式使用IsGreaterThanorEqualTo和IsLessthanorEqualTo?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)