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.

Drag & drop rows in gridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

111018 Sep 4,2013 05:18 AM Sep 13,2013 12:26 AM Windows Forms 1
loading
Tags: Tools
Shashi Bhushan Kumar
Asked On September 4, 2013 05:18 AM

Hi,
I want to implement row drag & drop feature within the same table in the gridGroupingControl (means i can able to drag row and move/drop up or down in the table). Please tell me how can I achieve this?
Thanks in advance.

Vinish Kumar K [Syncfusion]
Replied On September 13, 2013 12:26 AM

Hi Shashi,

Thank you for your interest in Syncfusion products,

Please refer the modified sample in the below link which lets you drag/drop a range of cells within the same grid or different or to a rich edit box.

http://www.syncfusion.com/downloads/Support/DirectTrac/96773/CS-1398313450.zip

By default, the grid supports drag-and-drop. Formatting information will be retained in both the source and target grids.

To observe the behavior, try the following.

        ·         Select a range of cells to be dragged using mouse pointer.

        ·         Move the pointer to the borders of a selected range until the OLE drag-and-drop icon(a small rectangular box) appears.

        ·         The property named 'ShowMessageBoxOnDrop', that allows us to control the display of messagebox before dropping cell contents from source to the destination. By default its value is false.

        ·         Note that, the styles in Grid 1 are being maintained in Grid 2 as well.

Please let me know if you have any concerns

Regards,

Vinish K


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.

;