Print Page | Close Window

How to create auto size column

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=13222
Printed Date: 17 November 2024 at 3:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to create auto size column
Posted By: YMHiK
Subject: How to create auto size column
Date Posted: 21 January 2009 at 4:52pm
How to create CXTPReportColumn object so that autosize is enabled, but to prevent user from resizing this column manually?



Replies:
Posted By: SuperMario
Date Posted: 22 January 2009 at 11:14am
Sure, set AllowColumnResize to False and AutoResize to True


Posted By: YMHiK
Date Posted: 23 January 2009 at 11:39am
I assume you set AllowColumnResize to false on ReportHeader object. Doesn't it mean that all columns will be affected by this?


Posted By: SuperMario
Date Posted: 26 January 2009 at 10:43am
Just set Resizable to False for that column



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