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)
Dynamic Height of table detail section
nikunj123
I am trying to display a table to display of marksheet in a single A4 fixed layout page. I manage to add a table with header/detail/footer + group on studentID Group Header/ Group Footer sections but I can not set a minimum heigth for the detail section (150mm for example). If I set a 150mm heigth on the detail row, then Each row will have that 150mm heigth. Whereas I would like, each row to have a minimal heith (could be on several line if the content of some columns is wrapped).
Header Of mark sheet
Subjects List Height Is 150mm
Result Section
I have give fix height of result section, when i got six records then i got perfect location of result section, but when records are more then six or less then six then result section location is disturb. I need solutions of this
If any script through I got height of detail section of table, or i create them then this problem will solve.
Find more posts tagged with
Comments
mwilliams
I understand what you want to do in the case that there are less than 6 detail rows, you want to extend the table. An easy way to do this is to add extra group footer rows and show/hide the appropriate amount of them based on the number of rows in the group.
My question back to you is what are you doing if you have more than 6 detail rows? Are you wanting to stop at 6 or continue to the end of the page and then push the result section to the end of the page on the next page? Let me know. A sample of report data and what you want it to look like could be helpful.
nikunj123
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="79364" data-time="1309409060" data-date="29 June 2011 - 09:44 PM"><p>
I understand what you want to do in the case that there are less than 6 detail rows, you want to extend the table. An easy way to do this is to add extra group footer rows and show/hide the appropriate amount of them based on the number of rows in the group.<br />
<br />
My question back to you is what are you doing if you have more than 6 detail rows? Are you wanting to stop at 6 or continue to the end of the page and then push the result section to the end of the page on the next page? Let me know. A sample of report data and what you want it to look like could be helpful.<br /></p></blockquote>
<br />
I don't want to show or hide row, i want to give dynamic height of row, mean row height can be change depend on no of records, if my records are more then six then row height would be reduce form 150mm and if records are less then six then row height would be increase.<br />
<br />
I have attached multiples images in that<br />
<br />
first images, is show my original mark sheet<br />
Third block from top <br />
Subject code, Subject Name, Course Credit, Grade, ReExam is show list of subjects, and this block height is 150mm<br />
<br />
after that i have to display <br />
<br />
semester Performance, and Cumulative Perfomance, in this image that value is (6.5, 42, 1.58) - (26.5, 42, 1.58) - (8)<br />
<br />
In my second image <br />
<br />
i have only one subject, so semester Performance, cumulative Performance come up side then their original size<br />
b'z i have given fix height in group footer.<br />
<br />
<br />
I have use grouping on studentID. and i have place semester performance, and cumulative performance at group footer.
mwilliams
What's your BIRT version? I'll try to make an example of a grouped report that has a minimum height for a group's detail section. If you'd like to recreate your issue with the sample database and post that example in here, that might help even more than me trying to recreate your setup/issue.