Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Prevent single column reorder
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Prevent single column reorder

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Prevent single column reorder
    Posted: 29 November 2011 at 6:35pm
Hi;

I've created a report control that consists of several 'master' columns at the left side of the control and lots of 'data' columns following the 'master' columns.
Rearranging of columns is enabled, but the columns should only be reorderd within their column groups - 'master' columns within the range of all 'master' columns and 'data' columns within all available data columns.
First I thought of two distinct synchronizes report controls, but the grouping by users is enabled and I don't want to hold the master data in both controls to synchronize grouping too - apart from the fact that the grouping columns are duplicated in both controls.
So best for me would be a message similar to OnDragOver() in OLE Drag&Drop to return 'is allowed' or 'not allowed' for columns being rearranged.
Is my requirement somehow possible or not?

Any help is very welcome.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2011 at 11:37am
Hi;

This issue is really important for me to move forward in our current project. So any ideas are very welcome!!!
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2011 at 6:42pm
Hi,

this is currently not possible. I already thought about column groups to for example forbid reordering between frozen and non-frozen colums. You'll see this feature in one of the next versions.

Andre

Codejock support
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2011 at 6:52pm
That's bad news because I need this feature now. In an case I have to change the original code of the CXTPReportHeader...
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2011 at 5:36pm
Hi Andre;

Do you have any news about this wish I have?
Would it be possible to get this feature in near future?
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.