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

Fit a table height with a Report/SubReport height.

1 Answer 351 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Touzi
Top achievements
Rank 1
Touzi asked on 06 Aug 2015, 11:01 AM
I have a sub report that contains a table; I want to adjust the height of this table automatically with the height of the sub report knowing that the height of the sub report is dynamic depending on the height of its left adjacent item at the parent report.

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 11 Aug 2015, 06:41 AM
Hello Touzi,

The SubReport item will always increase its height to accommodate its child items. Also, the Table item is a data-driven item, which means that it will increase its height depending on the number of data rows in its data source. Thus, the height of the table cannot be controlled directly. You will have to adjust the height of the table's detail row in order to modify the run-time height.
You can change the height of a table row dynamically using a Binding to the Height property of the row e.g.:

Height = '1in';

Regards,
Nasko
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
Report Designer (standalone)
Asked by
Touzi
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or