I have been looking through the examples, but am failing to see how to save the changes back to the server via a custom dropdownlist in my grid.
I am able to get the dropdownlist in the grid and select it from edit mode. Now based on my select I would like to save the changes based on the row record selected.
Is there an example using a template or a full example of this somewhere. Everything I have seen so far has been partial examples.
Here is my editor function which works fine with my grid, just need to know how to make an ajax call or where to make the call to save the change.
function internalStatusDropDownEditor(container, options) {
$('<input required data-text-field="InternalStatus" data-value-field="InternalStatus" data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
dataSource: {
data: [{ InternalStatus: "Open" }, { InternalStatus: "Closed" }, { InternalStatus: "Pending Input" }]
}
});
}
Thanks all.
I am able to get the dropdownlist in the grid and select it from edit mode. Now based on my select I would like to save the changes based on the row record selected.
Is there an example using a template or a full example of this somewhere. Everything I have seen so far has been partial examples.
Here is my editor function which works fine with my grid, just need to know how to make an ajax call or where to make the call to save the change.
function internalStatusDropDownEditor(container, options) {
$('<input required data-text-field="InternalStatus" data-value-field="InternalStatus" data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: false,
dataSource: {
data: [{ InternalStatus: "Open" }, { InternalStatus: "Closed" }, { InternalStatus: "Pending Input" }]
}
});
}
Thanks all.