I am using Kendo grid with custom row template and have defined values for one column. The popup editor is showing dropdown correctly, but grid is still showing id field. Code:
<script id="usersTableRowTemplate" type="text/x-kendo-tmpl">
<tr data-uid="#= uid #">
<td>#: Name #</td>
<td>#: GroupId #</td>
</tr>
</script>
<script>
$("#usersTable").kendoGrid({
"rowTemplate": kendo.template($("#usersTableRowTemplate").html()),
"editable": "popup",
"columns": [
{
"field": "Name",
"title": "Name"
},
{
"field": "GroupId",
"title": "Group",
"values": [{"value": 1,"text": "A"}, {"value": 2,"text": "B"}]
}
]
});
</script>
Please what is the correct expression in template for GroupId?