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.

Drag&Drop in ggc

Thread ID:

Created:

Updated:

Platform:

Replies:

37074 Nov 15,2005 12:37 PM Nov 15,2005 01:02 PM Windows Forms 1
loading
Tags: GridControl
EL HABTI HICHAM
Asked On November 15, 2005 12:37 PM

Hello everybody, I''d like to drag & drop between rows in the ggc , for example how can i drag a row from a nested table to another nested table in the same grid grouping control, and can i get the same transparency appearance as draging&droping files in windows XP. Thanks in advance Hicham,

Administrator [Syncfusion]
Replied On November 15, 2005 01:02 PM

Currently, there is no support for D&D in a GridGroupingCOntrol except the support inherited from Control. There are technical problems in trying to handle D&D in nested tables in a general way. How do you handle things like unique primary keys, incompatible schema, etc. And normally, if you have related tables, the reason some recrod is in a particular table is because it only belongs there and will not belong anywhere unless you modify the related values properly. So, any D&D support would have to be highly customized and specific to the datasource being used. Here is a little sample that shows how you can hook into the Windows Forms COntrol D&D support to try to handle a drag. Just mousedown on a row in the grid and drag it to the textbox. http://www.syncfusion.com/Support/user/uploads/GGC_DnD_2345b585.zip

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.

;