Height when rendering Panel
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
Hello.
Already sent in the previous notes, please verify.
Thank you.
Already sent in the previous notes, please verify.
Thank you.
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
Hello.
Waiting for return.
Thank you.
Waiting for return.
Thank you.
Re: Height when rendering Panel
Hello.
It's possible to create more simpler report template to show data this way.
Please, check the attached report. Thank you.
It's possible to create more simpler report template to show data this way.
Please, check the attached report. Thank you.
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
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.
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
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 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
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 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
- Attachments
-
- Panel_ProcessingDuplicates.mrt
- (26.48 KiB) Downloaded 372 times
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
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.
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.
- Attachments
-
- Panel.mrt
- (27.7 KiB) Downloaded 309 times
Re: Height when rendering Panel
Hello,
Sorry, maybe we did not exactly understand your task.
Please send us a screenshot or sample how it should look like.
Thank you.
Sorry, maybe we did not exactly understand your task.
Please send us a screenshot or sample how it should look like.
Thank you.
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
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.
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.
- Attachments
-
- Report 2.jpg (223.84 KiB) Viewed 5216 times
-
- Report 1.jpg (408.25 KiB) Viewed 5216 times
Re: Height when rendering Panel
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. Thank you.
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. Thank you.
-
- Posts: 219
- Joined: Tue Oct 27, 2015 4:19 pm
Re: Height when rendering Panel
Hello.
Were only the DataBand and Panel events used?
Could you explain what was done at the events?
Thank you.
Were only the DataBand and Panel events used?
Could you explain what was done at the events?
Thank you.