alignment issue in crossheaderband and crossdataband

Stimulsoft Reports.NET discussion
Post Reply
shivkrsingh
Posts: 24
Joined: Wed Dec 04, 2013 8:52 am

alignment issue in crossheaderband and crossdataband

Post by shivkrsingh »

hi,
I want to align text of header row and crossDataBand row. but in crossDataBand I have used can grow and word wrap property to true to adjust data. but header not grow and the text moved to next to other header. I want it should behave like a row. how can I achieve it. I have attached my files for review.

thanks.
Attachments
QuickViewReport.rar
(93.02 KiB) Downloaded 221 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: alignment issue in crossheaderband and crossdataband

Post by Alex K. »

Hello,

In this case you need use the additional variables, Double Pass and additional code in reports events. In first pass we check and save the max height and in second pass set it.
Please check the modified report. We prepare the sample for one header, for other you can use a similar code.

Thank you.
Attachments
QuickViewReport_modified.mrt
(39.01 KiB) Downloaded 261 times
shivkrsingh
Posts: 24
Joined: Wed Dec 04, 2013 8:52 am

Re: alignment issue in crossheaderband and crossdataband

Post by shivkrsingh »

hi,
I'm trying to adjust height of two different band as you mention above but created variable are not getting values when we assign its values in get value events property. So I'm unable to set same values. I want to align let me know why I'm not be able to align it. I have attached my file with solution.

thanks
Attachments
R&D of PrintView.rar
(10.01 KiB) Downloaded 216 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: alignment issue in crossheaderband and crossdataband

Post by HighAley »

Hello.

Please, look carefully on our modified report. You should set the Number Of Pass property of the report to Double Pass.

Thank you.
shivkrsingh
Posts: 24
Joined: Wed Dec 04, 2013 8:52 am

Re: alignment issue in crossheaderband and crossdataband

Post by shivkrsingh »

I'm unable to find NumberOfPass property. where it is available. I'm using 2012.1.1300 version.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: alignment issue in crossheaderband and crossdataband

Post by Alex K. »

Hello,

Please try to select the "Professional" of "Standard" mode for property panel.

Thank you.
Attachments
Untitled.png
Untitled.png (20.29 KiB) Viewed 2647 times
shivkrsingh
Posts: 24
Joined: Wed Dec 04, 2013 8:52 am

Re: alignment issue in crossheaderband and crossdataband

Post by shivkrsingh »

Its worked but I have one problem. when I assign height to variable, It manipulate the whole databand and assign equal height to all cell which is not correct. it should take height only if corresponding cell height is greater. I have attached snapshot for more info. it should not take space below if there is no data.

thanks
Attachments
printView.JPG
printView.JPG (51.89 KiB) Viewed 2643 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: alignment issue in crossheaderband and crossdataband

Post by HighAley »

Hello.

Our support have many difficult questions from our customers. We solve problems if it depends on our bugs. But we can't create reports for ALL our costumer, we just help to understand what the problem in.
We gave you the report template with the solution of your issue. Please, look at this report carefully and do the same in your report.

Thank you.
Post Reply