Page 1 of 1

Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" event

Posted: Thu Sep 13, 2018 8:06 am
by bobsov
I am using Stimulsoft Reposts.JS with my Angular 6 project. Everything works great except for these 3.

I have variables defined in one of the report. There is a begin date and end Date which are date type fields.

I don't want these dates to be auto-filled but these are always auto filled. How can I not make them auto-filled?

Second problem - I have "onInteraction" event and when variables change, this event gets fired. So far so good. However, now the variables (interactive fields) gets refreshed and goes back to current date and if user has selected different dates, thats gone now. I don't see same thing happening on "demo" site so not sure if something that I am doing is wrong. Unfortunately, I don't see a demo sample code in github or my downloads either, so hard to figure out how you guys are calling that.


Third problem - The exported PDF has "space" missing. If I have a report title "MY REPORT". It looks fine on viewer but when exported to PDF, it appears as "MYREPORT".

Please provide sample of using interactive fields in pure JS if you have one.

Re: Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" ev

Posted: Fri Sep 14, 2018 1:57 pm
by Lech Kulikowski
Hello,

> I don't want these dates to be auto-filled but these are always auto filled. How can I not make them auto-filled?

In the JS, there is no option. We have added this task to our to-do list.

> Second problem - I have "onInteraction" event and when variables change, this event gets fired.

Please send us a simple project which reproduces the issue for analysis on support@stimulsoft.com

> Third problem - The exported PDF has "space" missing.

We couldn't reproduce this bug. Could you explain your issue in more details?

Thank you.

Re: Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" ev

Posted: Wed Sep 19, 2018 2:47 pm
by bobsov
Can we get a sample for Angular 6 (with user defined variables)? That may show/explain few my concerns here.

Re: Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" ev

Posted: Fri Sep 21, 2018 2:43 pm
by Lech Kulikowski
Hello,

All available samples you can find:
https://github.com/stimulsoft/Samples-JS

Thank you.

Re: Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" ev

Posted: Wed Sep 26, 2018 6:05 am
by bobsov
The Angular 5 example does not have user variables defined example.

Re: Interactive date fields are auto-filled and user selected values are refreshed with default after "onInteractive" ev

Posted: Thu Sep 27, 2018 6:37 am
by Lech Kulikowski
Hello,

You can add a variable in your report and set RequestFromUser option.

Thank you.