Print Page | Close Window

HOWTO: Prevent a column from being dropped

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=24312
Printed Date: 20 April 2024 at 9:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Prevent a column from being dropped
Posted By: mgampi
Subject: HOWTO: Prevent a column from being dropped
Date Posted: 26 July 2022 at 10:51am
Hi;

How can I prevent a reorder of columns, but only when dropped outside a distinct range of columns.
I could not find something similar to a OnColumOrderChanging notification message. I only get the changed notification.
To be more precise: we have a report control that consists of three "parts" regarding the shown columns. Due to legacy reasons we can not use three different controls containing only the columns of each of the three parts and synchronize the navigation in any of the three controls with the other two.
Nevertheless, we have to avoid section overlapping column reorder, but within a "section" reorder should be possible.
Therefore, my question for a OnColumnOrderChanging function.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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