How To set column width in databand???

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

How To set column width in databand???

Post by jayakumargr »

Hi,
i designed databand with 6 coumns. In Runtime,i want to set a particular column width to some value.
how i do that....?
Any One give me the guidelines....

Thanks in advance....


Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How To set column width in databand???

Post by Vital »

In BeforePrintEvent of any components placed on databand with columns type following code:

Code: Select all

if (Column == 1)Text1.Parent.Width = 3;
else Text1.Parent.Width = 6;
Thank you.
Post Reply