After I select an item from Dropdownlist and hit save, Grid is not displaying the description corresponding to the Id value returned from the service.
Here is the code snippet...
$("#grid").kendoGrid({
dataSource: dataSource,
pageable: false,
columns: [
{
field: "TransferTypeId",
title: "Transfer Type",
template: "#:TransferType#",
width: 150,
editor: function (container, options) {
$('<input data-bind="value:' + options.field + '" required/>')
.appendTo(container)
.kendoDropDownList({
autoBind: true,
dataTextField: "Value",
dataValueField: "Key",
valuePrimitive: true,
dataSource: {
transport: {
read: {
url: THIS_APP_PATH + "Api/Lookup/TransferType"
}
}
}
});
}
}] });
What am I missing here?
Appreciated for your help.