I trying to get autocomplete working with an ODS data service we developed locally. I have the Netflix example working fine, but when I plug in my odata service instead it doesn't work.
I've attached the data that my service returns. As far as I can tell the format is the same as the Netflix sample. The DataServiceProtocolVersion is being set to V2.
Here is my js code:
$("#input").kendoAutoComplete({
minLength: 3,
dataTextField: "STRATEGY_NM",
dataSource: {
type: "odata",
serverFiltering: true,
serverPaging: true,
pageSize: 20,
transport: {
read: "http://localhost:53673/MyoData.svc/STRATEGIES"
}
}
});
I've attached the data that my service returns. As far as I can tell the format is the same as the Netflix sample. The DataServiceProtocolVersion is being set to V2.
Here is my js code:
$("#input").kendoAutoComplete({
minLength: 3,
dataTextField: "STRATEGY_NM",
dataSource: {
type: "odata",
serverFiltering: true,
serverPaging: true,
pageSize: 20,
transport: {
read: "http://localhost:53673/MyoData.svc/STRATEGIES"
}
}
});