Collapse a Section With Null Values

Stimulsoft Reports.NET discussion
Post Reply
DawnDaley
Posts: 2
Joined: Thu Jun 05, 2014 3:33 pm

Collapse a Section With Null Values

Post by DawnDaley »

How do I collapse a column of text if the returned value is Null or Zero. I don't want to just ignore the value I acually want the field to collapse so that the Text below it moves up to its position.
For Example:

{Details.Text1}
{Details.Text2}
{Details.Text3}

The value returned for {Details.Text1} is Null I want the value retuned for {Details.Text2} to move up to where {Details.Text1} is. The same if Text1 and Text2 returned Null values Text3 should move to the top of the list.
Is this possible and is so how can I make it work?

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Collapse a Section With Null Values

Post by Alex K. »

Hello,

Please try to use the CanShrink and DockStyle properties for the Text components.

Thank you.
DawnDaley
Posts: 2
Joined: Thu Jun 05, 2014 3:33 pm

Re: Collapse a Section With Null Values

Post by DawnDaley »

I have tried using these functions and am still having some issues. Do you have an example of how to use these functions that I could look at?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Collapse a Section With Null Values

Post by Alex K. »

Hello,

Can you please send us your report with test data which reproduce the issue for analysis.

Thank you.
Post Reply