Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Changing column ordering
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing column ordering

 Post Reply Post Reply
Author
Message
andrewg View Drop Down
Groupie
Groupie


Joined: 24 September 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewg Quote  Post ReplyReply Direct Link To This Post Topic: Changing column ordering
    Posted: 19 February 2008 at 3:40pm
How do you change the column ordering? I have a set of columns that are created. An XML file is read in with a custom ordering of the columns. How do you programmatically change their order? I have tried ChangeColumnOrder but it does not behave the way I want it to.

eg. Column A has index 0 but is to be moved to position 5. The I4th F clause in the ChangeColumnOrder() that looks like IF(nNewOrder > nItemIndex) will cause the item to be assigned to nNewOrder-1
Back to Top
andrewg View Drop Down
Groupie
Groupie


Joined: 24 September 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote andrewg Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2008 at 9:48am
bump
I'd really like to know how to do this!
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.109 seconds.