Print Page | Close Window

How to drag and drop in the childs

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9718
Printed Date: 15 November 2024 at 6:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to drag and drop in the childs
Posted By: jshan
Subject: How to drag and drop in the childs
Date Posted: 27 February 2008 at 9:00am
Hi...
 
I enable Drag and Drop property in the PropertyView in ReportSampleview like "m_wndReport.EnableDragDrop(_T("ReportSampleView"), xtpReportAllowDrag | xtpReportAllowDrop);".
 
And I Drag Items (or Group Items) and Drop them to other position. but I got no luck.
 
Is this not supported ?
 
CJ PRO VER : 11.2.2
 



Replies:
Posted By: znakeeye
Date Posted: 29 February 2008 at 7:28am
I've managed to drag'n'drop items between report controls, so yes, this is possible in v11.2.2.
 
I believe you have to serialize your records properly to get it working. DoPropExchange if I recall correctly...


Posted By: jshan
Date Posted: 06 March 2008 at 8:30am

thanks for the input

but, i have no idea how to re-serialize the data which are grouped.

In my case, the orders of items are dynamically changed. (grouped) in the list whenever user drags column that want to be grouped. So, in anycase i want the user can move any items to any position in the list.
 
Plz gimme a hand.
 


Posted By: znakeeye
Date Posted: 07 March 2008 at 10:37am
Ah, you can't drag items between groups as far as I know. I encountered the same problem the other day.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net