Can anyone help me how to get a notification message after deleting a row of a batch editing grid.
I need to show a success message or not after i click the ok button.
Please i hope you can help me with this issue.
3 Answers, 1 is accepted
0
Eduardo Serra
Telerik team
answered on 24 Oct 2016, 04:16 PM
Hi Juan,
I encourage you to take a look at the Kendo UI Notification Overview to see how it could be implemented in your scenario.
Without knowing much about the particulars of your Grid, I think one viable option would be to show the notification in the requestEnd event of the DataSource; there, you can check if the current request is to destroy and implement your custom logic:
requestEnd: function(e) {
if(e.type == "destroy")
{
//your custom logic
}
}
I hope this helps.
Regards,
Eduardo Serra
Telerik by Progress
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
When i catch an exception like integrity constraint on my controller , i want to show a message error that the record could not be deleted.
Any idea of how can i do that?.
I want to do something like this:
if (e.type == "destroy") {
$("#showSucces").show();
$("#showDanger").hide();
$("#showSucces").fadeIn(2000).delay(7000).fadeOut(1000);
} --> this in case that the row was successful deleted.
And now i want to show the error message in case that the record was unsuccessful deleted.
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.