SOLVED - Hiding a text field

Stimulsoft Reports.NET discussion
Post Reply
User avatar
poweredbyporkers
Posts: 28
Joined: Fri Nov 29, 2013 8:42 pm

SOLVED - Hiding a text field

Post by poweredbyporkers »

Hi again,

I have data that, for example, has a column with values 1, 2 and 3, 1 being a title, 2 an actual data record and 3 a 'footer' record. I can't use group headers and footers and I can't change the data.
detail-line.png
detail-line.png (26.9 KiB) Viewed 2033 times
I've tried setting canshrink etc., and that seems to work for field 3 but field 1 doesn't remove the blank space when it hides, i.e. it leaves a bloody great blank space. The databand is marked as canshrink too.

Any ideas?
Last edited by poweredbyporkers on Wed Sep 23, 2015 12:26 am, edited 1 time in total.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hiding a text field based on a value in the business obj

Post by Alex K. »

Hello,

Please try to use the additional Panel components, on first panel - title, on second - data and on third - footer. For each panel set DockStyle property to Top and CanShrink to true. Also you can use DataBand and two Child bands for this task.

Thank you.
User avatar
poweredbyporkers
Posts: 28
Joined: Fri Nov 29, 2013 8:42 pm

Re: Hiding a text field based on a value in the business obj

Post by poweredbyporkers »

Ahhhh, so close but I missed the DockStyle for the panels so of course the space they take up wasn't removed.

Thanks so much.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: SOLVED - Hiding a text field

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply