Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Force group footer location to bottom of page
stratega
<p>Hi,</p>
<p> </p>
<p>There are some posts on this subject but they are fairly old and don't work for my situation, which is:</p>
<p> </p>
<ul><li>Have a footnote with Visibility based on content</li>
<li>Data within the body of the report is variable (multiple sections that each have visibility based on content present), so can not "calculate" a vertical white-space size - at least not one that would be timely to develop or reliable.</li>
<li>Data is within a List Group. I don't see options in the Footer or Group Footer to force the footnote to the bottom of the page.</li>
<li>Content will always fit within one page (if that makes a difference).</li>
<li>I'm using 3.7.2</li>
</ul><p>Need the footnote to display at the bottom of the page if present (based on Visibility expression)</p>
<p> </p>
<p>Thanks</p>
<p> </p>
Find more posts tagged with
Comments
Clement Wong
<p>Will the attached sample work for you? In the <em>onCreate </em>event of the detail row, we look for a specific value and set a PersistentGlobalVariable (PGV). In the example, it's "USA" where the PGV is set and we won't display a footer. If you run with "UK", you'll get a footer.</p>
<p> </p>
<p>In the Master Page Footer, I added a grid with a label. In the <em>onRender </em>event of the grid, I added code to hide the grid it the PGV is set.</p>
<p> </p>
<p>If you have dynamic text from your body you would like to use in your footer, you can use another PGV and set it in the onCreate of the footer. Then in the label's onRender, you can set this.text = reportContext.getPersistentGlobalVariable("myVar");</p>