Page 1 of 1

Hide the header and footer of the detail rows

Posted: Fri Feb 10, 2017 2:43 am
by lxfst
Hi, i've made a master-detail report. The master databand has multiple detail databands. Each databand has its header band and footer band.
How to hide the header and footer of the details when some of the detail have no data?
I mean, when one of the detail has no any data, it will not display, but its header and footer still display. How can i hide them?

Re: Hide the header and footer of the detail rows

Posted: Fri Feb 10, 2017 1:45 pm
by Alex K.
Hello,

Please try to set the PrintIfEmpty property to false.

Thank you.

Re: Hide the header and footer of the detail rows

Posted: Sat Feb 11, 2017 4:09 am
by lxfst
I've tried, but it doesn't work

Re: Hide the header and footer of the detail rows

Posted: Mon Feb 13, 2017 7:07 am
by Alex K.
Hello,

Please send us a simple report with test data for analysis.

Thank you.

Re: Hide the header and footer of the detail rows

Posted: Mon Feb 13, 2017 8:50 am
by lxfst
Test data(data.json):
{ "id": 1, "text": "master", "detail": [{ "title": "d1", "text": "text for d1", "remark": "remark for d1" }] }
and then i set the "detail" data to be empty like this:
{ "id": 1, "text": "master", "detail": [] }

but the detail databand's header and footer are still displayed, even if the "print if empty" property is set to be false.

Re: Hide the header and footer of the detail rows

Posted: Tue Feb 14, 2017 1:29 pm
by Alex K.
Hello,

We need some time to check the issue.
We will let you know about the result.

Thank you.

Re: Hide the header and footer of the detail rows

Posted: Tue Feb 14, 2017 2:19 pm
by HighAley
Hello.

We have reproduced the issue.
We need some time for analysis of the issue.

Thank you.

Ticket reference: #3728

Re: Hide the header and footer of the detail rows

Posted: Mon Jun 24, 2019 2:43 pm
by HighAley
Hello.

There is a Print If Empty property of the Header and Footer bands.
You should disable them.

Thank you.