selecting columns to print at runtime

Stimulsoft Reports.NET discussion
Post Reply
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

selecting columns to print at runtime

Post by Naveen Aggarwal »

hi !

Is it possible to select the columns to be printed at run time ?
Like i provide the end user with option to uncheck the columns he doesn't want in the output !

Thanks in advance!

Naveen
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

selecting columns to print at runtime

Post by Jan »

Hello Naveen,

Please check Demo.exe application from standard delivery. Category- "Dialogs", report - Selecting Columns".

Thank you.
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

selecting columns to print at runtime

Post by Naveen Aggarwal »

Hi !

Thanks a lot for your reply !
I have had a look at the Demo.exe application .
Its really amazing but I am still not able to make out how is it being done and how can I design a report on similar lines.
I would be highly obliged if i can get little more help on this.

Thanks in advance !

Regards!

Naveen
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

selecting columns to print at runtime

Post by Andrew »

Hello,

Could you, please let us know what exactly goes wrong when you design a report?
We will help you.

Thank you.
Naveen Aggarwal
Posts: 70
Joined: Wed Feb 24, 2010 11:08 am
Location: India

selecting columns to print at runtime

Post by Naveen Aggarwal »

Hi!

Thanks a lot sir but frankly speaking I dont know how to design such a report.
My requirements although are very simple. I have a table which has got say 12 columns. Out of these 12 columns 3 columns are optional . May be one user needs them and others may not. So I just wanted to give them the freedom of selecting the columns they would like to view. I havent yet designed any report which uses a form.

Regards !

Naveen
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

selecting columns to print at runtime

Post by Jan »

Hello Naveen,

You can use DockStyle property of component. Please set to latest text component on databand (on right side for example) DockStyle property to Fill. All other text box must have DockStyle property set to Left. After then you can switch off any of this components (with help of Conditions for example) and latest component will be automatically fill all free space on databand. Other components will be moved to left side.

Thank you.
Post Reply