How to drag and drop in the childs |
Post Reply |
Author | |
jshan
Groupie Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
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
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
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...
|
|
jshan
Groupie Joined: 07 December 2007 Status: Offline Points: 63 |
Post Options
Thanks(0)
|
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.
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Ah, you can't drag items between groups as far as I know. I encountered the same problem the other day.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |