This is a migrated thread and some comments may be shown as answers.

Multiple rows deleting confirmation

4 Answers 111 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mikhail
Top achievements
Rank 1
Mikhail asked on 11 Nov 2014, 04:41 PM
Hi
I have to prompt the user to confirm a delete of row (rows).
For the single row it is easy via RowsChanging event.
But it is not the way for multiple rows deliting (in that case confirmation dialog will be shown for every selected row).

How can I show single confirmation dialog for multiple rows deleting?

User can delete rows from keyboard as well as from standard content menu.

------------------
Telerik.WinControls version 2014.3.1021.40

4 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Nov 2014, 06:36 AM
Hi Mikhail,

Thank you for writing.

You can use the UserDeletingRow for the purpose, which is cancelable event.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Mikhail
Top achievements
Rank 1
answered on 12 Nov 2014, 12:07 PM
It works, thanks!
0
Sreenivas
Top achievements
Rank 1
answered on 26 Sep 2016, 04:41 PM

$scope.deleteMultipleRows = function () {
var grid = $("#feeScheduleGrid").data("kendoGrid");
$("#feeScheduleGrid").find("input:checked").each(function () {
grid.removeRow($(this).closest('tr'));
})
};

with above code I'm not able to delete multiple rows at once.

can any one help me on this.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Sep 2016, 05:15 AM
Hello Sreenivas,

Thank you for writing.  

I would like to note that this forum is related to the Telerik UI for WinForms suite. Feel free to post your questions regarding other products in the relevant forum: http://www.telerik.com/forums

Thank you

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
GridView
Asked by
Mikhail
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Mikhail
Top achievements
Rank 1
Sreenivas
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or