or
$(
"#aCombobox"
).kendoComboBox([
{text:
"Item1"
, value:
"1"
},
{text:
"Item2"
, value:
"2"
}
]);
I'm using a column template to display my StatusTypes array. It works fine, but when I use the "create" toolbar to add a row, the column template isn't displayed. Once I hit "save", then it shows, but I would like it to appear right when the user clicks "create".
$(
"#gridEmailAddress"
).kendoGrid({
dataSource: mydatasource,
scrollable:
true
,
sortable:
true
,
pageable:
true
,
editable:
true
,
resizeable:
true
,
toolbar: [
"create"
,
"save"
,
"cancel"
],
columns: [
{ field:
"Address"
, width: 190, title:
"Email Address"
},
{ field:
"Name"
, width: 190, title:
"Name"
},
{ field:
"StatusTypes"
, template: columnTemplate, title:
"Status Types:"
},
{ command:
"destroy"
, title:
" "
, width: 120 }
]
});