Print Page | Close Window

Column Width

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=5672
Printed Date: 23 May 2024 at 4:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Column Width
Posted By: Shawshank
Subject: Column Width
Date Posted: 03 December 2006 at 7:34pm
I have a report control with a single column. The RC is sized, upon initial load, to the user's screen resolution. I'd like the single column in the RC to be the same width as the RC itself. I've tried adding RC.Width to the size property at the column's creation but that makes it very large and includes scroll bars. How does one make the column width be exactly the same size as the RC?



Replies:
Posted By: sserge
Date Posted: 14 December 2006 at 2:08pm
Set folowing properties:

ReportControl.AutoColumnSizing = True
 
ReportColumn.AutoSize = True
ReportColumn.Resizable = True

 
See also a regular sample, play with it, remove all columns excluding subject.

--
WBR,
Serge



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