Search found 29 matches

by Mateus Garrido Kern
Wed Jun 17, 2020 2:26 pm
Forum: Stimulsoft Reports.JS
Topic: Header in request some REST
Replies: 10
Views: 1590

Header in request some REST

Hello, I'm having trouble putting headers in my API requests using the report merge. How I put headers in my requests using report merge? My code is it: import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; declare var Stimulsoft: any; @Component({ sele...
by Mateus Garrido Kern
Tue Mar 17, 2020 2:27 pm
Forum: Stimulsoft Reports.JS
Topic: Header in request some REST
Replies: 11
Views: 2250

Re: Header in request some REST

Hello, HighAley.

This works great, thank you.
by Mateus Garrido Kern
Mon Mar 16, 2020 2:20 pm
Forum: Stimulsoft Reports.JS
Topic: Header in request some REST
Replies: 11
Views: 2250

Re: Header in request some REST

Or to read some JSON Object, but I was not successful to use the "loadFromJsonObject", I got this error: [color=#FF0000] ERROR TypeError: t.properties is not a function at a.u.loadFromJsonObject (stimulsoft.reports.js:58) at a.s.loadFromJsonObject (stimulsoft.reports.js:58) at AppComponent.push../sr...
by Mateus Garrido Kern
Mon Mar 16, 2020 2:15 pm
Forum: Stimulsoft Reports.JS
Topic: Header in request some REST
Replies: 11
Views: 2250

Header in request some REST

Hi, I intend to make a call to a GET method of my API, but I need to send the Token in the header. I manage my request changing the "pathData" of my report. The follow code was get by the publish page of stimulsoft site (https://publish.stimulsoft.com), and modified the pathData: import { Component ...
by Mateus Garrido Kern
Mon Sep 23, 2019 11:50 am
Forum: Stimulsoft Reports.JS
Topic: Error when open two or more reports in one
Replies: 7
Views: 1257

Re: Error when open two or more reports in one

Hello,

I'm waiting for your return.

Thank you.
by Mateus Garrido Kern
Thu Sep 19, 2019 5:50 pm
Forum: Stimulsoft Reports.JS
Topic: Before Print dosen't work in Angular 7
Replies: 3
Views: 771

Re: Before Print dosen't work in Angular 7

"Component is Enabled" worked fine for this situation. :D

Thank you.
by Mateus Garrido Kern
Thu Sep 19, 2019 1:35 pm
Forum: Stimulsoft Reports.JS
Topic: Error when open two or more reports in one
Replies: 7
Views: 1257

Re: Error when open two or more reports in one

I couldn't send the compact project because of the size of it. I sending the reports separately with the JSON Mocks. In the project, I used Angular 7, I create a component and I put this code in the TypeScript side: import { Component, OnInit } from '@angular/core'; import { ViewEncapsulation } from...
by Mateus Garrido Kern
Tue Sep 17, 2019 5:19 pm
Forum: Stimulsoft Reports.JS
Topic: Before Print dosen't work in Angular 7
Replies: 3
Views: 771

Before Print dosen't work in Angular 7

Hello, I have an error when rendered my report in a Angular 7 project. In the report has 4 databands, and the databand number 3 need to appears only when not have data from the data source, so I put something like this in BeforePrint Event of the databand number 1: this.DataBand3.Enabled = root_lanc...
by Mateus Garrido Kern
Tue Sep 17, 2019 1:50 pm
Forum: Stimulsoft Reports.JS
Topic: Error when open two or more reports in one
Replies: 7
Views: 1257

Error when open two or more reports in one

Hello, I have an error when I open three reports in on, in a merge way in a Angular 7 project. When I will open a first page of second report I have this Error: [color=#FF0000]ERROR TypeError: Cannot read property 'sortingEnabled' of null[/color] My code in the TypeScript side: const reportTermoAber...