How does batch editing work? If I were to create 3 new rows, and hit Save, would the "dataSource.create" function be called 3 times in succession? (first call for first row, etc..)
I would like to have a custom confirmation kendoWindow that pops up when the user hits save. However, the AJAX calls to the serverside should only go through if the user presses the "Yes" button in that pop up. How can I achieve this behaviour? Here's an example
windowService.displayCurrentWindow(
"Create"
);
// popup window
$(
"#yesButton"
).click(
function
() {
windowService.closeCurrentWindow();
api.post(url, e.data)
.then(
function
success(response) {
// do stuff
},
function
error(response) {
e.error();
});
})
$(
"#noButton"
).click(
function
() {
windowService.closeCurrentWindow();
})