Article relates to
Telerik Reporting up to R3 2016
25 October 2016
Last modified by
<IMPORTANT: As of R3 2016 report sections and Panel item have CanShrink property. By turning on the CanShrink property sections/items will collapse, if their content is hidden or with smaller height.>
Collapse the container when hiding child report items.
Telerik Reporting report items behavior is to grow, but they can't shrink. In order to collapse the parent container(section or panel) when you hide some of its child items, you have to set the container Height property to a very small initial value. This way, the container will grow if it have child items otherwise the container will take virtually no space. For the purpose, you need to set container Height with Binding as shown in the following example:
The expression part can be set via user function.
Additionally, check the Design Considerations for Report Item Layout help article.
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.