Height when rendering Panel

Stimulsoft Reports.NET discussion
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Height when rendering Panel

Post by Leandro Borges »

Hello.

In my report I have a Databand and a Panel. Inside the Panel, I have a DataBand and a text component. When the report is generated, the Panel does not follow the same size as the DataBand. I tried to mark the option Increase Height and Can Grow of the Panel but did not work. Is it possible to get the height of the Databand when it is rendered and pass to the Panel or there is a different way?

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Height when rendering Panel

Post by Ivan »

Hello,

Can you please send us a sample report template with data, which reproduces the issue, for analysis?

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Height when rendering Panel

Post by Leandro Borges »

Hello.

An example is attached. Note that the Beverages and Condiments groups were printed correctly. The other groups do not have the same size because they have fewer records. They would have to grow to be the same as before.

Thank you.
Attachments
Panel.mrt
(25.4 KiB) Downloaded 657 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Height when rendering Panel

Post by HighAley »

Hello, Leandro.

Please, set the Can Shrink property to True for the Text1 and DataBand1.

Thank you.
Attachments
Panel.mrt
(25.42 KiB) Downloaded 736 times
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Height when rendering Panel

Post by Leandro Borges »

Hello.

In the example it worked but in the real case it did not work. The DataBand1 has other Panel with DataBand. These panels may have different heights and need to be at the same height as DataBand1.
I'm sending another example closer to my actual case. Note that Panel1 is smaller than Panel2. DataBand1 followed the height of Panel2, but Panel1 did not follow. Panel1 would have to increase the height and distribute the records so they have the same spacing.

Thank you.
Attachments
Panel.mrt
(27.7 KiB) Downloaded 537 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Height when rendering Panel

Post by Ivan »

Hello,

Do you want to get the result as in the picture?

Thank you.
Attachments
sample1.png
sample1.png (11.74 KiB) Viewed 7541 times
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Height when rendering Panel

Post by Leandro Borges »

Hello.

Yes.

Thank you.
Kubekin Yuriy
Posts: 10
Joined: Wed May 17, 2017 9:24 pm

Re: Height when rendering Panel

Post by Kubekin Yuriy »

Hello, Leandro Borges.

Let us know if there are more questions.

Thank you.
Leandro Borges
Posts: 219
Joined: Tue Oct 27, 2015 4:19 pm

Re: Height when rendering Panel

Post by Leandro Borges »

Hello.

What's the solution?
I want to get the result as in the picture above, how do I do?

Thank you.
Kubekin Yuriy
Posts: 10
Joined: Wed May 17, 2017 9:24 pm

Re: Height when rendering Panel

Post by Kubekin Yuriy »

Hello, Leandro Borges.

Sorry for my previous answer.
Please send us your final report template or a similar example to consider all the nuances.

Thank you.
Post Reply