-1
Ich möchte Daten von Kendo DropDownListe mit Kendo abrufen.KendoUI Knockoutjs Dropdownliste
PS Ich will es tun Knockout-Kendo.js
PS Es ohne Verwendung ist ein Beispielcode, der auf JQuery läuft. Siehe unten
<input id="products" data-bind="DDList: { dataTextField: 'ProductName', dataValueField: 'ProductID', data: Product, value: selectedId }" />
$(document).ready(function() {
$("#products").kendoDropDownList({
dataTextField: "ProductName",
dataValueField: "ProductID",
dataSource: {
transport: {
read: {
dataType: "jsonp",
url: "https://demos.telerik.com/kendo-ui/service/Products",
}
}
}
});
});