Page 2 of 3
Re: Height when rendering Panel
Posted: Thu May 18, 2017 2:27 pm
by Leandro Borges
Hello.
Already sent in the previous notes, please verify.
Thank you.
Re: Height when rendering Panel
Posted: Mon May 22, 2017 4:51 pm
by Leandro Borges
Hello.
Waiting for return.
Thank you.
Re: Height when rendering Panel
Posted: Wed May 24, 2017 6:48 am
by HighAley
Hello.
It's possible to create more simpler report template to show data this way.
Please, check the attached report.
Thank you.
Re: Height when rendering Panel
Posted: Wed May 24, 2017 12:40 pm
by Leandro Borges
Hello.
I understood what was done, but in my real case, the DataBands that are inside the Panel, point to different Data Source. Each Data Source can return a different amount of records. Is there another way to do it using the Panel?
Thank you.
Re: Height when rendering Panel
Posted: Mon May 29, 2017 1:13 am
by Edward
Hi Leandro,
If you could merge the data from the two Data Sources you mentioned into the one Data Source, then this example is just the combination of the previous suggestions inside of the one panel only.
Text4.ProcessingDuplicates=Merge

- ProcessingDuplicates-Merge.JPG (100.21 KiB) Viewed 5238 times
The actual report contains only one panel instead of 2 as in your case. This is achievable if you could merge your data into 1 Data Source somehow.
If the data is difficult to modify outside the report, then the Data From Other Data Source is the way to do it. Please check this out:
https://www.stimulsoft.com/en/documenta ... source.htm
Thank you
Re: Height when rendering Panel
Posted: Mon May 29, 2017 12:18 pm
by Leandro Borges
Hello.
Did not work. The Panels must be the same height as the processed DataBand. Here is the example already sent.
Is there a function that captures the height of the DataBand when it is being processed and assign it to the Panels?
Is there another solution?
Thank you.
Re: Height when rendering Panel
Posted: Wed May 31, 2017 12:29 pm
by Alex K.
Hello,
Sorry, maybe we did not exactly understand your task.
Please send us a screenshot or sample how it should look like.
Thank you.
Re: Height when rendering Panel
Posted: Wed May 31, 2017 1:09 pm
by Leandro Borges
Hello.
Here are 2 prints of my report. Report 1 is the report developed and report 2 is the generated report. In report 2, note that the height of the "Fonte Geradora" column is greater than the "Meio de Propagação" column. How do I get them to be the same height as they are from different data sources?
DataSources
DataBand2 = LocTrab_Risco_Agente
DataBand7 = LocTrab_Risco_Fonte_Geradora
DataBand8 = LocTrab_Risco_Meio_Propagacao
DataBand7 is inside a Panel and DataBand8 is inside another Panel. Panels are within DataBand2.
Thank you.
Re: Height when rendering Panel
Posted: Fri Jun 02, 2017 9:36 am
by HighAley
Hello, Leonardo.
You task is not so easy. When the DataBand is rendering it's unknown what height of the DataBand2 will be.
So we have prepared a sample report for you. We are using the object variables to save the instances of the rendered components and change them in the After Print event of the DataBand2.

- eight.png (36.34 KiB) Viewed 5212 times
Thank you.
Re: Height when rendering Panel
Posted: Fri Jun 02, 2017 12:02 pm
by Leandro Borges
Hello.
Were only the DataBand and Panel events used?
Could you explain what was done at the events?
Thank you.