operators.dateObject
The texts of the filter operators displayed for date fields.
Omitting an operator will exclude it from the DropDownList with the available operators.
Example
<div id="filter"></div>
<script>
var data = [
{ name: "Jane Doe", birthDate: new Date(1990, 0, 15) },
{ name: "John Doe", birthDate: new Date(1985, 5, 20) }
];
var dataSource = new kendo.data.DataSource({
data: data
});
$("#filter").kendoFilter({
dataSource: dataSource,
operators: {
date: {
eq: "Is equal to",
neq: "Is not equal to",
gte: "Is after or equal to",
lte: "Is before or equal to"
}
},
fields: [
{ name: "birthDate", type: "date", label: "Birth Date" }
]
});
</script>
In this article