This is a migrated thread and some comments may be shown as answers.

View problem in grid column

0 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jenya
Top achievements
Rank 1
Jenya asked on 20 Apr 2012, 05:43 PM
I create template:
<script id="country-template" type="text/x-handlebars-template">
     <p data-country="{{countryId}}">{{countryName}}</p>
</script>
And then i create dropdown for 'editor' function
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
                });
}
Then i changed value in dropdown and data-country value is changed, but countryName didn't change. 
How i can change 'countryName' too ?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Jenya
Top achievements
Rank 1
Share this question
or