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. Image for the cookie policy date

Drag & drop rows in gridGroupingControl

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.

1 Reply

VK Vinish Kumar K Syncfusion Team September 13, 2013 04:26 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon