Page 6 of 7

Re: DateTime Format Issue

Posted: Tue Feb 28, 2017 7:31 am
by BCS
I had to

Code: Select all

report.dictionary.synchronize();
report.render();
viewer.report = report;
//then use: report.renderedPages.count;
viewer.renderHtml("viewerContent");

Re: DateTime Format Issue

Posted: Wed Mar 01, 2017 5:06 pm
by HighAley
Hello.

In some cases the rendering is possible in async mode only.
So you should call renderAsync() method next way:

Code: Select all

        var report = new Stimulsoft.Report.StiReport();
        report.loadFile("report/WorkOrder.mrt");
        report.renderAsync(function(){
           //then use: report.renderedPages.count;
        });
Thank you.

Re: DateTime Format Issue

Posted: Thu Mar 02, 2017 6:41 am
by BCS
I'll give that a try, I wasn't aware there were async methods with the StiReport Object

Re: DateTime Format Issue

Posted: Fri Mar 03, 2017 7:59 am
by HighAley
Hello.

Please, let us know if you need our help.

Thank you.

Re: DateTime Format Issue

Posted: Tue Mar 14, 2017 4:54 am
by BCS
I haven't had a chance to test the async method yet, apologies.

However I discovered that between pre-release 2017.01.21 and 2017.02.17 that Report/Column/Page summing has changed or been broken. I've had to revert my JS files to 2017.01.21.

{Sum(DataBand, DataColumnName)} no long sums at all, it writes to the console:

Code: Select all

stimulsoft.reports.js:155 undefined
stimulsoft.reports.js:155 Expression in Text property of 'Total' can't be evaluated! undefined
Where 'Total' is in the report summary band. It also occurs in group footers as well.

Re: DateTime Format Issue

Posted: Tue Mar 14, 2017 6:34 pm
by Alex K.
Hello,

We have made some improvements and fixes in that direction.
Please check the last prerelease build 2017.1.0.2 from 2017.03.10 and let us know about the result.

Thank you.

Re: DateTime Format Issue

Posted: Tue Mar 14, 2017 8:30 pm
by BCS
Eyes must have skipped right over that release, it was in 2017.03.03 but seems fixed in 2017.03.10, thanks again.

Re: DateTime Format Issue

Posted: Wed Mar 15, 2017 6:49 am
by Alex K.
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.

Re: DateTime Format Issue

Posted: Thu Mar 16, 2017 4:59 am
by BCS
Curious where is the text box padding opinions in the report designer or do I need custom css for that, seems to put padding 0px on all table cells in the html

Re: DateTime Format Issue

Posted: Thu Mar 16, 2017 8:35 pm
by Alex K.
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.