Stimulsoft.Viewer.StiViewerOptions is not a constructor

Stimulsoft Reports.JS discussion
Post Reply
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by mrapi »

Hi
After update from 2020.3.2 to 2020.4.1 I have that error in console:
stim.png
stim.png (18.43 KiB) Viewed 1322 times
in my Angular 10 code I use something like that:

Code: Select all

export class LrapComponent implements OnInit {
  options: any = new Stimulsoft.Viewer.StiViewerOptions();
  viewer: any = new Stimulsoft.Viewer.StiViewer(this.options, 'StiViewer', false);
...
reverting to 2020.3.2 works
I use stimulsoft.reports.pack.js and stimulsoft.viewer.pack.js

thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by mrapi »

k.thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by Lech Kulikowski »

Hello,

Please check the modified file in the attachment.

Thank you.
Attachments
stimulsoft.reports.pack.js
(5.01 MiB) Downloaded 145 times
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by mrapi »

hi.seems to be working.thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Post by Lech Kulikowski »

Hello

We are always glad to help you!

Thank you.
Post Reply