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
close icon

Row drag drop in grouping grid

Hi,

I am creating a POC for using Grouping grid in Syncfusion 4.1.0.58. I would like to know can we drag a selected row in Group 2 and drop into Group 1? If possible how can we do it?

Thanking you in advance.

Thanks,
Gomati


3 Replies

AD Administrator Syncfusion Team February 18, 2008 05:57 PM UTC

Hi Gomati,

Below are the forum threads that discusses about the drag & drop of rows in GridGroupingControl and let me know if this helps.
1)http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=49136
2)http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=37074

Also refer these KB article for more details.
1)http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=236
2)http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=235

Best regards,
Haneef



GM Gomati Mahabal February 19, 2008 05:24 AM UTC

Thanks Haneef :). It helped me. I am just looking how can we implement same DnD functionality when grid has grouping with 'n' number of columns. How will it maintain relationship and update same back to dataset.




>Hi Gomati,

Below are the forum threads that discusses about the drag & drop of rows in GridGroupingControl and let me know if this helps.
1)http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=49136
2)http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=37074

Also refer these KB article for more details.
1)http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=236
2)http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=235

Best regards,
Haneef





AD Administrator Syncfusion Team February 19, 2008 07:26 AM UTC

Hi Gomathy,

Thank you for your reply.

When we drag and drop the row from a grid grouping control to another grid grouping control the dataset will be updated using AcceptChanges() method. Please find the simple sample in the below link that illustrates this:

http://websamples.syncfusion.com/samples/Grid.Windows/F71865/main.htm

In the above sample, we have bound the DataGridView control to the datasource of the second GridGroupingControl. When we drag and drop the row in the GridGroupingControl2 automatically the datasource gets updated, which will be reflected in the GridDataView. The dataset will update correctly even when the columns are grouped.

Please let me know if any concerns.

Regards,
Fathima



Loader.
Live Chat Icon For mobile
Up arrow icon