Print Page | Close Window

Changing column ordering

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=9634
Printed Date: 22 November 2024 at 6:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing column ordering
Posted By: andrewg
Subject: Changing column ordering
Date 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



Replies:
Posted By: andrewg
Date Posted: 25 February 2008 at 9:48am
bump
I'd really like to know how to do this!



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