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

Drag&Drop in ggc

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,

1 Reply

AD Administrator Syncfusion Team November 15, 2005 06:02 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon