Issue with grouping in Reports.JS

Stimulsoft Reports.JS discussion
Joanne
Posts: 23
Joined: Tue Dec 01, 2015 3:48 am

Issue with grouping in Reports.JS

Post 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
Attachments
test.reports.groups.zip
Test reports with groups
(2.34 MiB) Downloaded 267 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Issue with grouping in Reports.JS

Post 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.
Joanne
Posts: 23
Joined: Tue Dec 01, 2015 3:48 am

Re: Issue with grouping in Reports.JS

Post 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
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Issue with grouping in Reports.JS

Post 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.
Joanne
Posts: 23
Joined: Tue Dec 01, 2015 3:48 am

Re: Issue with grouping in Reports.JS

Post 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
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Issue with grouping in Reports.JS

Post by Andrew »

Joanne,

Please try the sample at https://github.com/stimulsoft/Samples-J ... 0Json-data

Let us know about the result.
Thank you.
Joanne
Posts: 23
Joined: Tue Dec 01, 2015 3:48 am

Re: Issue with grouping in Reports.JS

Post 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.
Attachments
test.reports.groups.zip
Test report with grouping
(2.42 MiB) Downloaded 295 times
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Issue with grouping in Reports.JS

Post by Andrew »

Joanne,

Thank you for the bug report. We found the problem and fix it.

Thank you.
Joanne
Posts: 23
Joined: Tue Dec 01, 2015 3:48 am

Re: Issue with grouping in Reports.JS

Post 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 ?
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Issue with grouping in Reports.JS

Post by Andrew »

The fix will be in the next prerelease.

Thank you.
Post Reply