I like how I can set the filterable options for the whole grid according to data type as below:
Html.Kendo().Grid<MyModel>()
.Filterable(filterable =>
{
filterable.Extra(
false
);
filterable.Operators(o =>
{
o.ForString(str => str.Clear().Contains(
"Contains"
).IsEqualTo(
"Is equal to"
));
o.ForEnums(en => en.Clear().IsEqualTo(
"Is equal to"
));
});
});
However, I would like to set Extra(false) for Strings and Enums, but set Extra(true) for Numbers and DateTimes. Is there a way to set the Extra() flag per data type at the grid level without having to set it for each column at the column level?