Search found 14 matches

by alex.coles
Tue Feb 06, 2024 12:14 pm
Forum: Stimulsoft Reports.JS
Topic: Issues with auto width
Replies: 2
Views: 447

Re: Issues with auto width

I think I've managed to resolve the issue with the spacing, but printing is still cropping characters that display fine on screen.
by alex.coles
Tue Feb 06, 2024 10:52 am
Forum: Stimulsoft Reports.JS
Topic: Issues with auto width
Replies: 2
Views: 447

Issues with auto width

Trying to do something similar to https://forum.stimulsoft.com/viewtopic.php?t=56120 I have a databand with two elements in it, both right aligned and docked, the value on the far right and the currency, to it's left. I seem to have a problem with the auto width. When a single digit value it's corre...
by alex.coles
Tue Jun 27, 2023 2:44 pm
Forum: Stimulsoft Reports.JS
Topic: Font sizing not working when printing
Replies: 3
Views: 633

Re: Font sizing not working when printing

Yeah, can confirm this is working in latest version. :(
by alex.coles
Fri Jun 23, 2023 5:03 pm
Forum: Stimulsoft Reports.JS
Topic: Font sizing not working when printing
Replies: 3
Views: 633

Font sizing not working when printing

I have the following in a text component: <font size="36">{Currency}</font><font size="56">{item.newPrice}</font> When viewing the report it is showing correctly, with the smaller currency symbol, but when printing or exporting to PDF the whole element is rendered at a single siz...
by alex.coles
Wed Mar 24, 2021 1:30 pm
Forum: Stimulsoft Reports.JS
Topic: Expand All / Collapse All
Replies: 3
Views: 1666

Re: Expand All / Collapse All

By user click.

The first method works great, but if a user has opened or closed a collapse then this no longer is controlled by the variable and no longer collapses or expands on user interaction. Any way around this?
by alex.coles
Tue Mar 23, 2021 1:26 pm
Forum: Stimulsoft Reports.JS
Topic: Expand All / Collapse All
Replies: 3
Views: 1666

Expand All / Collapse All

Sure this should be something simply, but we have a report with multiple-groups and levels of collapsing. By default we start everything collapsed, but user is requesting an easy way to expand all or collapse all groups for printing (must also be able to print 'as is' on screen also). Am I missing s...
by alex.coles
Wed Feb 10, 2021 4:33 pm
Forum: Stimulsoft Reports.JS
Topic: Merge Datasets
Replies: 1
Views: 773

Merge Datasets

I have an API which I am passing to Reports twice with different parameters, so have 2 different datasources in my report in the format: [ { 'id': 1, 'value':3 }, { 'id': 2, 'value':4 }, { 'id': 4, 'value':2 } ] [ { 'id': 2, 'value':5 }, { 'id': 3, 'value':1 }, { 'id': 4, 'value':3 } ] What I want i...
by alex.coles
Thu Oct 15, 2020 4:05 pm
Forum: Stimulsoft Reports.PHP
Topic: Inline formatting of currency in expression of text box
Replies: 11
Views: 12563

Re: Inline formatting of currency in expression of text box

I am using the following as an expression: Was: {Format("{0:C}", data_items.price)} but it comes out as Was: $2.49 on the report. I have other fields that are numeric and set to type 'Currency' with the 'Use Local' property set to true and they show '£' correctly (without the Local propert...
by alex.coles
Fri Oct 09, 2020 4:25 pm
Forum: Stimulsoft Reports.JS
Topic: NaN when number comes null
Replies: 9
Views: 3014

Re: NaN when number comes null

Alternatively use:

Code: Select all

{IIF(int.Parse(source.param), source.param, "-")}
by alex.coles
Thu Aug 27, 2020 2:10 pm
Forum: Stimulsoft Reports.JS
Topic: Report Margins ignored by browser
Replies: 3
Views: 1131

Re: Report Margins ignored by browser

In case anyone else has this issue, I solved it by setting:
options.toolbar.printDestination = Stimulsoft.Viewer.StiPrintDestination.Pdf;
This forces the print to respect the margins correctly, by treating it as a PDF.