In text component for summary I have expression that calculate sum. Text of expression exceed size of control.
When I check word wrap option then text component is growing but its content does not need this.
For details about text component settings look at ReportBuilder.cs file (lines 257-267 and 359-380) in attached project.
Text component - word wrap problem
-
- Posts: 55
- Joined: Thu Mar 12, 2015 10:06 am
Text component - word wrap problem
- Attachments
-
- Summary.zip
- (28.77 KiB) Downloaded 220 times
Re: Text component - word wrap problem
Hello,
It is a feature of the engine.
Aggregate functions that are tied to the page, and system variables PageNumber, TotalPageCount, PageNofM, IsLastPage calculated not immediately, but only after the rendering of a full report, postprocessing.
And at the time of rendering the component in which they are used, the size of the component is calculated under the current contents.
Unfortunately, there is no simple solution.
As an option - use two passes, in the end of first save calculated values and on the second pass immediately assign them.
Thank you.
It is a feature of the engine.
Aggregate functions that are tied to the page, and system variables PageNumber, TotalPageCount, PageNofM, IsLastPage calculated not immediately, but only after the rendering of a full report, postprocessing.
And at the time of rendering the component in which they are used, the size of the component is calculated under the current contents.
Unfortunately, there is no simple solution.
As an option - use two passes, in the end of first save calculated values and on the second pass immediately assign them.
Thank you.
-
- Posts: 55
- Joined: Thu Mar 12, 2015 10:06 am
Re: Text component - word wrap problem
If I use version 2015.2, it works as I expected.
Re: Text component - word wrap problem
Hello,
We need some additional time to investigate the issue.
We will let you know about the result.
Thank you.
We need some additional time to investigate the issue.
We will let you know about the result.
Thank you.