I am using 2013.2.918 and this is working. I tried to upgrade to 2013.3.1324 and it is no longer working. Please see attached. Do you know how I can work-around this or is this a known issue?
The item is declined since it applies to the Kendo UI suite. Please post your question in the Kendo UI Feedback portal.
<html>
<head>
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://cdn.kendostatic.com/2013.3.1324/js/kendo.all.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<input data-role="dropdownlist" data-auto-bind="false" data-bind="source: ordersDataSource" data-value-field="ShipCity" data-text-field="CalculatedField()"/>
<script>
var ordersDataSource = new kendo.data.DataSource({
type: "odata",
transport: {
read: {
url: "http://demos.kendoui.com/service/Northwind.svc/Orders",
type: "GET",
dataType: "jsonp",
contentType: "application/json"
}
},
schema: {
type: "json",
data: function(response) {
return response.d.results;
},
model: {
CalculatedField: function() {
return this.get("ShipCountry") + " " + this.get("ShipCity");
}
}
}
});
var viewModel = kendo.observable({
orders: ordersDataSource
});
kendo.bind($(document.body), viewModel);
</script>
</body>
</html>
Hi, We can't open the attachment. Could you please open a support ticket and send us your code to examine it locally? Regards, Elena