I have a DataBand with 3 SubReports, the first and second (SubReport 1 and SubReport 2 in attached image1) leave a blank space (attached image 2) when they have no data to display.
Is it possible to hide these SubReports and readjust the DataBand so that this space is not empty?
Hide SubSport when DataSource has no data
- pcsiquiero
- Posts: 5
- Joined: Fri Feb 10, 2017 11:25 am
- Location: São Paulo / Brazil
Hide SubSport when DataSource has no data
- Attachments
-
- image1.jpg (94.99 KiB) Viewed 2449 times
-
- image2.jpg (74.57 KiB) Viewed 2449 times
Paulo Siquiero
Developer and Consultant
São Paulo / Brazil
Developer and Consultant
São Paulo / Brazil
Re: Hide SubSport when DataSource has no data
Hello,
Please try to set the DockStyle property as Top and CanShrink to true.
Thank you.
Please try to set the DockStyle property as Top and CanShrink to true.
Thank you.
- pcsiquiero
- Posts: 5
- Joined: Fri Feb 10, 2017 11:25 am
- Location: São Paulo / Brazil
Re: Hide SubSport when DataSource has no data
CanShrink was already set to true.
DockStyle when I change to Top the component ignores the position of the other components overlapping them
DockStyle when I change to Top the component ignores the position of the other components overlapping them
Aleksey wrote:Hello,
Please try to set the DockStyle property as Top and CanShrink to true.
Thank you.
Paulo Siquiero
Developer and Consultant
São Paulo / Brazil
Developer and Consultant
São Paulo / Brazil
- pcsiquiero
- Posts: 5
- Joined: Fri Feb 10, 2017 11:25 am
- Location: São Paulo / Brazil
Re: Hide SubSport when DataSource has no data
Solved. I put the information from the top of the DataBand inside a Panel Component and changed the DockStyle to Top. I did the same with each SubReport by placing them in Panels with the DockStyle property set to Top.
On all Panels, I've changed the CanBreak, CanGrow and CanShrink properties to True.
In this way, all positions were retained and white space was hidden in the report view.
On all Panels, I've changed the CanBreak, CanGrow and CanShrink properties to True.
In this way, all positions were retained and white space was hidden in the report view.
pcsiquiero wrote:CanShrink was already set to true.
DockStyle when I change to Top the component ignores the position of the other components overlapping them
Aleksey wrote:Hello,
Please try to set the DockStyle property as Top and CanShrink to true.
Thank you.
Paulo Siquiero
Developer and Consultant
São Paulo / Brazil
Developer and Consultant
São Paulo / Brazil
Re: Hide SubSport when DataSource has no data
Hello
Ok.
Please let us know if you need any additional help.
Thank you.
Ok.
Please let us know if you need any additional help.
Thank you.