Page 1 of 1

SOLVED - Hiding a text field

Posted: Tue Sep 22, 2015 7:03 am
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 2030 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?

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

Posted: Tue Sep 22, 2015 10:29 am
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.

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

Posted: Tue Sep 22, 2015 10:27 pm
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.

Re: SOLVED - Hiding a text field

Posted: Wed Sep 23, 2015 4:56 am
by Ivan
Hello,

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

Thank you.