We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Deleting from GDBG with Extended Multiselect

Thread ID:





33255 Aug 16,2005 08:53 PM UTC Aug 16,2005 09:16 PM UTC WinForms 1
Tags: GridControl
Kenneth Johnson
Asked On August 16, 2005 08:53 PM UTC

We require extended multiselect functionality in our application. I found the code in the grid knowledgebase that made this happen, but there is a problem. The delete works fine if the rows to be deleted are selected from top to bottom of the grid. If the rows are selected from bottom to top, too many rows are deleted. I have included a small sample that shows this. If you select rows 1.5, 2.5, 3.5 and 4.5 in that order, you are left with rows 1.0, 2.0, 3.0, and 4.0. However, if you select rows 4.5, 3.5, 2.5, and 1.5, you are left with rows 1.0, 3.0 and 4.0 only. I appreciate any light that you can shine on this. Ken DeleteGrid_579.zip

Administrator [Syncfusion]
Replied On August 16, 2005 09:16 PM UTC

At the bottom of OnRowsDeleting, try setting e.Cancel = true;


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon