panel not shrink

Stimulsoft Reports.JS discussion
Post Reply
fabien
Posts: 23
Joined: Thu Jul 15, 2021 9:07 am

panel not shrink

Post by fabien »

Hi,

i have a report with one databand.
In this databand, i have 2 panels.
These two panel have a condition on "enabled" property.
first panel shows comments lines (with lignepiece_type == 10). second row of dataset is a "comment" line.
second panel show data lines (with lignepiece_type == 0).

why panel don't shrink ? view image attachment.
I have also add example template.

Thanks,

Fabien.
Attachments
preview.png
preview.png (7.9 KiB) Viewed 1123 times
testCondition.mrt
(84.13 KiB) Downloaded 89 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: panel not shrink

Post by Lech Kulikowski »

Hello,

In that case, you should set the DockStyle=Top for both panels. Or use ChildBand for the second panel.

Thank you.
fabien
Posts: 23
Joined: Thu Jul 15, 2021 9:07 am

Re: panel not shrink

Post by fabien »

Hi,

It works.

Thank you.

Fabien.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: panel not shrink

Post by Andrew »

Hello,

Okay, great!
Post Reply