Conditionally hide data freeing the space

Stimulsoft Reports.WEB discussion
Post Reply
jb42
Posts: 2
Joined: Wed Aug 18, 2021 12:13 pm

Conditionally hide data freeing the space

Post by jb42 »

I know how to use conditions to conditionally hide components. I use a condition on a Panel to hide data if the condition meets.

When using a Panel containing the data to hide I have the issue that the space the Panel occupies still remains as empty space. I want to just let the Panel disappear without it occupying space.

I know that I can use a Data Band instead, which would free the space if it is disabled in the condition. But when the data I want to hide is already inside a Data Band, I apparently cannot use another one for the hiding purpose.

Does someone know how I can achieve my goal?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditionally hide data freeing the space

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
jb42
Posts: 2
Joined: Wed Aug 18, 2021 12:13 pm

Re: Conditionally hide data freeing the space

Post by jb42 »

I found a workaround in the meantime. I use a Panel inside the outer Data Band, and inner Data Bands inside the Panel. When setting conditions on the inner Data Bands that disable them, the space is freed.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditionally hide data freeing the space

Post by Lech Kulikowski »

Hello,

Thank you for your reply.
Post Reply