The latest internal build broke the support that was just added for having a DropDownList editor in the grid. Now, now matter how you click on the dropdownlist, it does not activate / open so you can't choose a value.
Even when the DropDownList was rendering perfectly in build 1407, the sample code provided wouldn't actually bind to the grid data for updates, only for the current value. Any help is appreciated. Using this code as directed by Kendo UI support:
Combined with this...
Before the breaking change, this theoretically mostly worked, with the exception of the specification of the Template for the column. That just throws a javascript error because it can't find the LoanStatus field. My assumption was that there was some magic in the editor binding but that does not appear to be so. If I change the template to read the current LoanStatus directly from the dataset (which i'm also returning there), it displays renders intiially, but after any change from the dropdown field, it still only displays the old value from the dataset (which isn't surprising).
So, the questions are:
a) Can you please undo whatever you did to break DropDownList support from the last build to this one?
b) Can you provide some clue as to how to best template that DropDownList editor column so that it displays the updated data after a Change?
Even when the DropDownList was rendering perfectly in build 1407, the sample code provided wouldn't actually bind to the grid data for updates, only for the current value. Any help is appreciated. Using this code as directed by Kendo UI support:
{
field:
"LoanStatus_ID"
,
editor: loanStatusEditor,
template:
"#=LoanStatus#"
,
title:
"Status this Month"
},
Combined with this...
function
loanStatusEditor (container, options) {
$(
'<input name="'
+ options.field +
'"/>'
)
.appendTo(container)
.kendoDropDownList({
change:
function
() {
},
dataTextField:
"LoanStatus"
,
dataValueField:
"LoanStatus_ID"
,
dataSource: {
type:
"json"
,
transport: {
read: {
url:
"@Url.Content("
~/LoanBalance/LoanStatusDropDown
")"
}
}
}
});
}
Before the breaking change, this theoretically mostly worked, with the exception of the specification of the Template for the column. That just throws a javascript error because it can't find the LoanStatus field. My assumption was that there was some magic in the editor binding but that does not appear to be so. If I change the template to read the current LoanStatus directly from the dataset (which i'm also returning there), it displays renders intiially, but after any change from the dropdown field, it still only displays the old value from the dataset (which isn't surprising).
So, the questions are:
a) Can you please undo whatever you did to break DropDownList support from the last build to this one?
b) Can you provide some clue as to how to best template that DropDownList editor column so that it displays the updated data after a Change?