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


Topic: Column width
Posted By: rt15051966
Subject: Column width
Date Posted: 21 April 2006 at 3:46am

hello

I use reportcontol, I have problem with column widht , I add many column and set size for each. I use SetAutoColumnSizing (FALSE) but column width don't set in my size. How to set precize column width ?




Replies:
Posted By: sserge
Date Posted: 21 April 2006 at 3:08pm
Hi,

First you can setup a column width when creating it (in the constructor). Also you can always change it's width with SetWidth(int nNewWidth) method.

Set AutoColumnSizing to FALSE before changing. Also please ensure that your widhts are not changed by SerializeState method (like in CReportSampleView::LoadReportState).

--
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