This only happens if the Yes/No attribute is marked for inline editing. The workaround is to use the following initialization script:
(replace "AttributeName" with the name of the attribute you are filtering on (in two places below)
var c = null;
for (var i = 0; i < config.columns.length; ++ i)
{
if (config.columns.field == "Exclude")
{
c = config.columns;
break;
}
}
if (c)
{
if (! c.filterable)
c.filterable = {};
if (! c.filterable.cell)
c.filterable.cell = {};
c.filterable.cell.template = function (args) {
args.element.kendoDropDownList({
dataSource: [{ value: "Yes", text: "Yes" }, { value: "No", text: "No" }],
dataTextField: "text",
dataValueField: "value"
});
};
config.dataSource.schema.model.fields ["AttributeName"].parse = function (v) {
if ($.isPlainObject (v) && v.value)
return v.value;
return v == "Yes" ? true : false;
};
}