Page 1 of 1

How to avoid white spaces when hiding fields

Posted: Fri May 27, 2016 1:33 pm
by lanfro
Hi

We have a requirement that a user should be able to hide or show certains fields in the report based on a selection in a checklist. We use the "Activated" bool property of the "Text" component to hide or show the fields. That works great! However when the fields are hidden, it leaves a blank white space where the hidden fields are. These empty blank areas takes space and do not look good in the report. Is it possible to make the fields collapse like a "gridlayout" would do in a WPF window?
I have added some screenshots to make it more easy for you to understand what the problem is. The report in the screenshots is just a test report to show the problem.

Thank you.

Regards
Frode

Re: How to avoid white spaces when hiding fields

Posted: Mon May 30, 2016 9:14 am
by Alex K.
Hello,

Please try to use additional Bands with the Condition and ComponentIsEnabled option.
Please see the sample in the attachment.

Thank you.