Print Page | Close Window

Lock Columns from Reorder

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=9845
Printed Date: 20 September 2024 at 8:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Lock Columns from Reorder
Posted By: mblotus
Subject: Lock Columns from Reorder
Date Posted: 10 March 2008 at 4:49pm
Hello,

Is there a way to lock certain columns from being reordered, so that those columns will always stay at the same position?

For example:  I have 3 colummns, and I want the 1st column to always stay on the 1st position.  I can set the 1st column's AllowDrag property to False, which would prevent it from being dragged to other positions, however I have yet to find a way to prevent other drag-able columns from being positioned to the left of the 1st column.  Is there a way?

I'm using Report Control 9.70.

Thank you for any assistance!

Michael



Replies:
Posted By: Aaron
Date Posted: 21 April 2008 at 6:45am

Hi,

In V12.0 there's an option

wndReportControl.DisableReorderColumnsCount
 
You can set the number of columns on the left side who will be locked (dragging and dropping).
 
wndReportControl.DisableReorderColumnsCount = 2 will lock the first 2 column all others are allowed to move 



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