Fit a table height with a Report/SubReport height.

2 posts, 0 answers
  1. Touzi
    Touzi avatar
    6 posts
    Member since:
    Mar 2014

    Posted 06 Aug 2015 Link to this post

    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.
  2. Nasko
    Nasko avatar
    941 posts

    Posted 11 Aug 2015 Link to this post

    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';

    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