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.
Unfortunately, activation email could not send to your email. Please try again.

Deleting from GDBG with Extended Multiselect

Thread ID:

Created:

Updated:

Platform:

Replies:

33255 Aug 16,2005 04:53 PM Aug 16,2005 05:16 PM Windows Forms 1
loading
Tags: GridControl
Kenneth Johnson
Asked On August 16, 2005 04:53 PM

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 05:16 PM

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

CONFIRMATION

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.

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.

;