'kendo dropdownlist always select the first option from list
the value of this column is East Region Group. But when i click on the select list it always highlight the first option. I do not know what is the problem. Below are the code snippets.
var guid = kendo.guid();
$('<input name="DefaultPriceGroup" id="' + guid + '" class="dropDownTemplate"/>').appendTo(container);
ddt = $(container).find('#' + guid);
dataItem = options.model;
$(ddt).kendoDropDownList({
name: "DefaultPriceGroup",
value: dataItem.DefaultPriceGroup,
dataSource: dataItem.PriceGrpList,
dataTextField: "Text",
dataValueField: "Value",
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
