Subreport doesn't fit the whole container of the master report

2 posts, 0 answers
  1. Henrique
    Henrique avatar
    1 posts
    Member since:
    Oct 2019

    Posted 03 Oct Link to this post

    Hello,

    Please, I would be VERY VERY glad if someone could help me.

    I have a report that has a sub-report inside it and it's working just fine.

    The sub-report can give one or multiple lines as output for a single row in the master report.
    However, when a row's height in the master report is too high (due to the output of other cells, not the sub-report), then the sub-report's output doesn't fill the gap in the master report.

    I've tried so many thing that I read in this forum, but none of them worked.
    I've attached a real example of what's happening:

    The master report uses a table, while the sub-report uses only text boxes. 

     

    Thank you very very much

  2. Todor
    Admin
    Todor avatar
    397 posts

    Posted 08 Oct Link to this post

    Hello Henrique,

    I noticed that you have opened a Support ticket for the same issue. I will summarize our discussion here for the benefit of our community.

    When a SubReport is placed in a table cell, it will occupy the entire space in the cell if it becomes higher, whereas the subreport (i.e. its ReportSource) will take only the space it needs to accommodate its internal items. We consider this as a bug - Sub-report does not grow to fill the entire SubReport item area.

    The workaround is to substitute SubReports with nested Table/List/Crosstab. Note that with nested items you will avoid the deeper nesting due to the SubReport. With SubReport item the TextBox is in the detail section of another report and then in SubReport item. With a nested table, the TextBox is only in a table cell.

    Regards,
    Todor
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top