I there a way to create a remote DataSource for an AutoComplete that uses "contains" instead of "startswith"? I tried specifying the filter like so:
but, it was changed/overridden by the component on the AJAX request.
$(
"#SearchFor"
).kendoAutoComplete({
minLength: 2,
dataTextField:
"FullText"
,
dataSource:
{
type:
"json"
,
serverFiltering:
true
,
serverPaging:
true
,
pageSize: 20,
filter:
{
field:
"FullText"
,
operator:
"contains"
,
value: $(
"#SearchFor"
).val()
},
schema:
{
data:
"data"
,
count:
"count"
},
transport:
{
read: applicationPath() +
"/Home/SearchForStuff"
}
}
});
but, it was changed/overridden by the component on the AJAX request.