My drop down list, which is in a grid column is set up as follows:
The control works as expected in edit mode, but when the control resolves from edit mode, the ID is displayed in the grid column. I want the text to be displayed in the grid column. What is necessary to make this happen?
Thanks!
...
editor:
function
(container, options) {
$(
'<input data-bind="value:Operator"/>'
)
.appendTo(container)
.kendoDropDownList({
optionLabel:
" "
,
dataSource: Adhoc._operatorDataSource,
dataTextField:
"Description"
,
dataValueField:
"ID"
, });
},
...
The control works as expected in edit mode, but when the control resolves from edit mode, the ID is displayed in the grid column. I want the text to be displayed in the grid column. What is necessary to make this happen?
Thanks!