Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Setting Header height automatically
tr.vinodkumar
<p>Hi,</p>
<p> i have a header page which has a grid in the master page. This master page contains another grid which gets populated dynamically from our birt service tool. while the report is being generated, the report header shows this dynamically generated table/grid, but is not entirely visible because of the height property being set. this results in a section of the table being hidden/clipped.</p>
<p> </p>
<p>is there any option to set the header height to auto/expanding/growing in order to show the entire header table? please advice.</p>
<p> </p>
<p>regards,</p>
<p>Vinod</p>
Find more posts tagged with
Comments
micajblock
<p>can you provide an example we can run?</p>
tr.vinodkumar
<p>Thank you so much for the quick reply.</p>
<p> </p>
<p>please find the attached HeaderPage.</p>
<p> </p>
<p>In the Master page section, the text element in the 4th row and the "customGrid" in the 5th row of the root grid gets dynamically populated from our birt service which creates a pdf. I am trying to achieve something similar to the report shown in the attached pic.</p>
<p> </p>
<p>please advice</p>
<p> </p>
<p>regards,</p>
<p>vinod</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
JFreeman
<p>Do you have an XML file with sample data we can use in conjunction with the report design you provided?</p>
<p> </p>
<p>Could you also provide a screenshot of the current output that is not fully displaying?</p>
George Thomas
<p>Please find attached the sample request file, the corresponding rptdesign file (Header File) and the sample PDF generated. See the header section of the PDF.</p>
<p>Please ignore the header rptdesign send before.</p>
JFreeman
<p>I am not able to reproduce this issue with the report design you provided. Running this report, the grid's contents are all spaced and displayed as expected based on the fixed height specified for each element.</p>
<p> </p>
<p>Comparing the PDF output you provided with the PDF generated from the sample report you provided, the output appears to be different. Which leads me to believe this report is not the same report that generated the PDF output provided.</p>
<p> </p>
<p>Could you please provide the PDF output from the rptdesign you have attached?</p>
<p> </p>
<p>Also, there is a CSS file associated with this design that was not provided. There is a chance it is this CSS file that could be a cause of the output not appearing as expected.</p>
George Thomas
<p>The sample PDF provided is the output of the above attached rpdesgn file. The PDF is in fact generated by merging of 4 rptdesign files by the BIRT service. I have attached only the rptdesign file corresponding to the header(cut portion in pdf). The other 3 rptdesign files are getting data via jdbc driver connected to a sql server. So you will not be able to run the other three rptdesign files.</p>
<p> </p>
<p>I am attaching the css file here for your reference</p>
JFreeman
<p>I believe this issue is going to be relate to the process you have in place to merge the report designs and generate the PDF. Running this report standalone displays the elements spaced and sized exactly as they are configured within the report design without any overlapping.</p>
<p> </p>
<p>Based on the PDF output provided, I can see that the grid on the master page is being modified in this process. It appears rows and columns of data are being added and other elements are being removed as well as some styling modifications.</p>
<p> </p>
<p>I would recommend examining the code used to perform this process as that appears to be where the issue is happening.</p>