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

Auto adjust Header height

1 Answer 218 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Ase
Top achievements
Rank 1
Ase asked on 22 Oct 2014, 07:37 AM
Hi,

I have a report wherein I get data from a datasource. I have a textbox that may sometimes have a null value (see attached file).
Is there a way that the header height will automatically adjust from this textbox?

Thanks

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 24 Oct 2014, 01:56 PM
Hi Ase,

For the TextBox item you can set CanShrink to true - How do I 'shrink' TextBoxes that have no data. Then to shrink the containing section, you can use the approach from the Collapse the container when hiding child report items KB article.

Keep in mind, page sections have the same height for all pages and changing their height is not recommended.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Report Designer (standalone)
Asked by
Ase
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or