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.

Row drag drop in grouping grid

Thread ID:

Created:

Updated:

Platform:

Replies:

71865 Feb 18,2008 06:58 AM Feb 19,2008 02:26 AM Windows Forms 3
loading
Tags: GridControl
Gomati Mahabal
Asked On February 18, 2008 06:58 AM

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


Administrator [Syncfusion]
Replied On February 18, 2008 12:57 PM

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


Gomati Mahabal
Replied On February 19, 2008 12:24 AM

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




Administrator [Syncfusion]
Replied On February 19, 2008 02:26 AM

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



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.

;