Page 1 of 2
Issue with grouping in Reports.JS
Posted: Wed Apr 20, 2016 12:59 pm
by Joanne
Hi, I am using the latest pre-release build (Stimulsoft Reports.JS 2016.1.8 from 2016.04.15) and "stimulsoft-reports-js" version "2016.1.5" on node.js server.
When creating reports with group bands (header and footer) it appears correctly in the designer's preview tab, but when rendering the report on server side and opening it with viewer on client side, I have the following issues:
1. last page is blank and it seems that the last item(s) are missing
2. margins does not seem to be correct (data band is cut off at the end and the page number is not displayed)
Please find attached a sample project using the "SimpleList.mrt" template, modified with groupHeaderBand and groupFooterBand.
NOTE: the node_modules and bower_components have been removed to reduce the zip file's size; you'll need to run npm install and bower install on the project to test it
Thanks for your help
Joanne
Re: Issue with grouping in Reports.JS
Posted: Thu Apr 21, 2016 2:03 pm
by HighAley
Hello.
Please, try to upgrade all our builds.
There were a lot of improvements.
We need additional time for analyzing of your issue.
We will let you know when we get any result.
Thank you.
Re: Issue with grouping in Reports.JS
Posted: Thu Apr 21, 2016 3:37 pm
by Joanne
Hi, thanks for the reply. I am already using the latest build for Reports.JS, but when updating the node package to version 2016.1.8 (from npm update), I am having the following error :
Element is not defined
at c:\test.reports.groups\node_modules\stimulsoft-reports-js\stimulsoft.reports.js:119:29034
at e (c:\test.reports.groups\node_modules\stimulsoft-reports-js\stimulsoft.reports.js:118:177)
at Object.<anonymous> (c:\test.reports.groups\node_modules\stimulsoft-reports-js\stimulsoft.reports.js:118:256)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (c:\test.reports.groups\node_modules\stimulsoft-reports-js\index.js:1:80)
Thanks for your help
Joanne
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 6:33 am
by Andrew
Dear Joanne,
Thank you for the reply.
We confirm the error. We have fixed it. Please download the version 2016.1.8-b at
https://www.npmjs.com/package/stimulsoft-reports-js
Let us know about the result.
Thank you.
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 6:44 am
by Joanne
Hi Andrew,
Thanks for the reply, I am no longer having the error with version 2016.1.8-b, but the groupings are still not working correctly (i.e. last blank page and footer seems to be truncated).
Thanks for your help
Joanne
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 12:05 pm
by Andrew
Joanne,
Please try the sample at
https://github.com/stimulsoft/Samples-J ... 0Json-data
Let us know about the result.
Thank you.
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 1:16 pm
by Joanne
Hi Andrew,
I have tried the sample and it works fine, but as soon as I add group header and footer, I am having the issue with last blank page (and it seems some information is missing too) and also the footer seems truncated.
Please see the updated example project attached (the "SimpleList_grp.mrt" file is the same as "SimpleList.mrt" but with grouping)
Thanks for your help
Joanne
NOTE: you'll have to re-run npm install and bower install as I removed these in node_modules and bower_components to reduce the ZIP file size.
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 2:04 pm
by Andrew
Joanne,
Thank you for the bug report. We found the problem and fix it.
Thank you.
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 3:21 pm
by Joanne
Hi Andrew, thanks for the reply. Is the problem fixed in latest pre-release (v2016.1.9) or will it be in next pre-release build ?
Re: Issue with grouping in Reports.JS
Posted: Fri Apr 22, 2016 6:38 pm
by Andrew
The fix will be in the next prerelease.
Thank you.