Print Page | Close Window

ReportControl Prevent Indv Column Removal

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1609
Printed Date: 15 July 2025 at 12:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportControl Prevent Indv Column Removal
Posted By: Boyd
Subject: ReportControl Prevent Indv Column Removal
Date Posted: 30 December 2004 at 11:29am

ReportControl has the property 'AllowColumnRemove' which prevents any column from being removed from the report.  I want to allow certain columns to be removed but still prevent a few important columns from ever being removed.

Can this be done?  If now, would it be possible to add a 'Removable' property to the ReportColumn class that would allow individual control over the columns (i.e. like how a ReportControl can have 'AllowEdit' set to 'True' but you can set the ReportColumn.Editable property to false to prevent editing)?

Thanks!




Replies:
Posted By: SuperMario
Date Posted: 30 December 2004 at 2:42pm
Why not set AllowDrag = False?  Sorry if this is not in current release, I can't remember.  However, this works fine.


Posted By: Boyd
Date Posted: 30 December 2004 at 3:16pm

If you set 'AllowDrag' to False, you can't re-order the columns.  I want to user to be able to change the order of the columns but not remove it from the header completely.



Posted By: SuperMario
Date Posted: 22 February 2005 at 10:29am
Just an update.  The Column::AllowRemove property was added in 9.60.


Posted By: Boyd
Date Posted: 22 February 2005 at 12:07pm

Thanks for the update.  This wasn't in the release notes, so I wouldn't have caught it.



Posted By: SuperMario
Date Posted: 22 February 2005 at 12:09pm
In version 9.60.1 the release note will be updated.  Please look at them again as allot was added to them since 9.60.  Look at both 9.60 and 9.60.1 sections.  (Will be released very soon)



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