This is a migrated thread and some comments may be shown as answers.

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

1 Answer 179 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Henrique
Top achievements
Rank 1
Henrique asked on 03 Oct 2019, 08:04 PM

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

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 08 Oct 2019, 03:21 PM

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
Tags
General Discussions
Asked by
Henrique
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or