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 and drop one row in GridGroupingControl

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.

3 Replies

SA Solai A L Syncfusion Team 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.


JU jun replied to Solai A L 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


SA Solai A L Syncfusion Team 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.


Loader.
Live Chat Icon For mobile
Up arrow icon