【发布时间】:2014-08-31 06:49:37
【问题描述】:
您好,我有一个有 4 列的剑道网格,其中一列是日期类型。
我想为日期类型列显示额外的过滤器选项。下面是我的足迹。
var grid = $("#mygrid").kendoGrid({
sortable: true,
pageable: true,
scrollable: true,
filterable: {
extra: true,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to",
contains: "Contains"
},
date: {
eq: "Is equal to",
neq: "Is not equal to",
gte: "Is after or equal to",
gt: "Is after",
lte: "Is before or equal to",
lt: "Is before",
}
}
},
当我说 extra: true 时,它适用于所有列。但我不想为字符串类型列显示额外的过滤器。如何仅为日期列启用 extra:true?
谢谢
【问题讨论】:
标签: jquery kendo-ui kendo-grid filtering