Empty data in data band is not working (SOLVED)
-
- Posts: 80
- Joined: Thu Aug 18, 2016 7:29 am
Empty data in data band is not working (SOLVED)
Using a data band its working great if I have data to display but when the datasource is like "Items": [] only a table header above the data band is shown and nothing else, if I change to "Items": [{}] everything works as normal again but as exptected with a zero line.
Last edited by terje.pedersen on Mon Aug 29, 2016 9:00 am, edited 1 time in total.
-
- Posts: 80
- Joined: Thu Aug 18, 2016 7:29 am
Re: Empty data in data band is not working
"items":[]
"items":[{}]
Re: Empty data in data band is not working
Hello.
Could you send us your report template with sample data for analysis?
Thank you.
Could you send us your report template with sample data for analysis?
Thank you.
-
- Posts: 80
- Joined: Thu Aug 18, 2016 7:29 am
Re: Empty data in data band is not working
I have made a minified version of it and added it as an attachment to this post.
Load this as dataset:
It should now look like this:
Replace content in json file with:
It should now look like:
Load this as dataset:
Code: Select all
{"customerinvoice": {"Items": [{"ItemText":"The Best Product"}]}, "companysettings": {"CompanyName": "Test Company"}}
Code: Select all
{"customerinvoice": {"Items": []}, "companysettings": {"CompanyName": "Test Company"}}
- Attachments
-
- datatable.mrt
- Report file
- (3.99 KiB) Downloaded 312 times
Re: Empty data in data band is not working
Hello,
You data for the DataBand is empty, please try to set the PrintIfEmpty property for the Header to true.
Thank you.
You data for the DataBand is empty, please try to set the PrintIfEmpty property for the Header to true.
Thank you.
-
- Posts: 80
- Joined: Thu Aug 18, 2016 7:29 am
Re: Empty data in data band is not working
Ah I see, the header is automatically connected and not showing by default.
Re: Empty data in data band is not working (SOLVED)
Hello.
Did you solve your issue?
Let us know if you need additional help.
Thank you.
Did you solve your issue?
Let us know if you need additional help.
Thank you.