I create template:
And then i create dropdown for 'editor' function
Then i changed value in dropdown and data-country value is changed, but countryName didn't change.
How i can change 'countryName' too ?
<script id="country-template" type="text/x-handlebars-template"> <p data-country="{{countryId}}">{{countryName}}</p></script>function countriesDropDown(container, options) { $('<input data-text-field="name" data-value-field="id" data-bind="value:' + options.field + '"/>') .appendTo(container) .kendoDropDownList({ autoBind: false, dataSource: countries });}How i can change 'countryName' too ?