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.
Syncfusion Feedback

Drag and drop one row in GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

119744 Jul 28,2015 12:55 AM UTC Jul 29,2015 10:16 AM UTC Windows Forms 3
loading
Tags: GridGroupingControl
jun
Asked On July 28, 2015 12:55 AM UTC

I'd like to drag and drop one row in GridGroupingControl.
I'm trying the test on reference to the sample source named "CS-760612564".
My table has the child data on arraylist style.
Now, it is only possible to drag&drop column and copy cell.
Please let me know if GridGroupingControl has the function for drag&drop row.

Solai A L [Syncfusion]
Replied On July 28, 2015 12:52 PM UTC

Hi Customer,

Thank you for your interest in Syncfusion products.

If you want to achieve drag and drop in gridgroupingcontrol, you need to use DragDrop, DragOver and TableControlMouseDown event. Please refer the below KB for reference and let us know if you have any other concerns.

KB Link :
http://www.syncfusion.com/kb/581/how-to-drag-and-drop-in-the-gridgroupingcontrol

Thanks and Regards,
AL.Solai.

jun
Replied On July 29, 2015 01:33 AM UTC

Hi Customer,

Thank you for your interest in Syncfusion products.

If you want to achieve drag and drop in gridgroupingcontrol, you need to use DragDrop, DragOver and TableControlMouseDown event. Please refer the below KB for reference and let us know if you have any other concerns.

KB Link :
http://www.syncfusion.com/kb/581/how-to-drag-and-drop-in-the-gridgroupingcontrol

Thanks and Regards,
AL.Solai.

Hi Solai,
Thanks for your reply.
As you mentioned, I'd tried to add three events(DragOver, DragDrop, TableControlMouseDown) and codes linked.
Please find the attached file.
Collumn is moved successfully but row is not.
I'd tried to change "e.Effect" from "DragDropEffects.Copy" to" DragDropEffects.Move" but the result was the same.
I'd like to move one row or change the position of row as column effect.

Attachment: Request_5119540c.7z

Solai A L [Syncfusion]
Replied On July 29, 2015 10:16 AM UTC

Hi Customer,

Thank you for your update.

We regret for our last update since not mentioned the following details. The drag operation will be started only when we drag the row header area. Also, dragging of record cells won’t perform drag operation. So, if you want to drag and drop the rows from one Grid to another, you have to drag the Row Header of the particular row you want to drop and drop it into the another grid. Please find the attached video for more details.

http://www.syncfusion.com/downloads/support/directtrac/general/DragAndDropSampleVideo-1026147433.zip

Please refer the below sample:

Sample

Please let me know if you have any other concerns.

 

Thanks & Regards,

AL.Solai.


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.

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

;