thanks it worked
V
vkszn
@vkszn
0
Reputation
3
Posts
739
Profile views
0
Followers
0
Following
Posts made by vkszn
-
RE: jsreport-browser-client-dist and Angular 4
Can you point me to a working example. I couldn't get it to work. Still getting
TypeError: Cannot set property 'serverUrl' of undefined -
jsreport-browser-client-dist and Angular 4
I am trying to integrate JSReport with my Angular 4 app. I am using jsreport-browser-client-dist. I have created a template on JSReportOnline and trying to render the report in the application.
jsreport.serverUrl = 'https://aarfid.jsreportonline.net/api/report';
At this line I get an error that jsreport is undefined. I have imported the jsreport module as, however i am not sure whether its a correct way or not.
import { jsreport } from 'jsreport-browser-client-dist/jsreport';