Search found 15 matches

by wprmdev
Tue Feb 06, 2024 6:40 pm
Forum: Stimulsoft Reports.JS
Topic: Reports not properly written for Typescript
Replies: 9
Views: 4037

Re: Reports not properly written for Typescript

This way it is possible to have complete type checking. (It's already something) /// <reference path="../node_modules/stimulsoft-reports-js/Scripts/stimulsoft.reports.d.ts" /> const StimulsoftNS: typeof Stimulsoft = require('stimulsoft-reports-js'); StimulsoftNS.Base.StiFontCollection.addO...
by wprmdev
Tue Feb 06, 2024 12:27 pm
Forum: Stimulsoft Reports.JS
Topic: Reports not properly written for Typescript
Replies: 9
Views: 4037

Re: Reports not properly written for Typescript

It would be great if imports work correctly with typescript/node. But this was the best solution I found. (Although not the best) // This doesn't work. Error: File stimulsoft.reports.d.ts' is not a module // import Stimulsoft from 'stimulsoft-reports-js'; /// <reference path="../node_modules/st...
by wprmdev
Tue Sep 19, 2023 3:39 pm
Forum: Stimulsoft Reports.JS
Topic: Resize Band on set Page size in runtime
Replies: 5
Views: 9023

Re: Resize Band on set Page size in runtime

I made a new example to be closer to my reality and simpler. (But I didn't include the various columns I have in the real report, which is the reason for using A3 paper in design time) I have an Order object with payment methods. I need to print the order data and payment methods in two columns. The...
by wprmdev
Mon Sep 11, 2023 8:53 pm
Forum: Stimulsoft Reports.JS
Topic: Resize Band on set Page size in runtime
Replies: 5
Views: 9023

Re: Resize Band on set Page size in runtime

Right. Changing the size manually may help. But I don't think it's an efficient solution. I set the width of my band equal to the page width after changing the sheet size. I would expect the in-band panel to adjust automatically since it is with dockerStyle full. But that didn't happen. Then I defin...
by wprmdev
Sat Sep 09, 2023 3:04 pm
Forum: Stimulsoft Reports.JS
Topic: Resize Band on set Page size in runtime
Replies: 5
Views: 9023

Resize Band on set Page size in runtime

I have the following situation. I have a report with many columns in design time that don't fit on an A4 sheet. So I switched to A3 to be able to work. But the user selects only some of the columns and prints in A4. Then in the Before Print event I change the size from A3 to A4. But my band remains ...
by wprmdev
Wed Sep 06, 2023 5:53 pm
Forum: Stimulsoft Reports.JS
Topic: Disabled new page action
Replies: 3
Views: 6918

Re: Disabled new page action

Yes. In the latest version it works. Thanks.
by wprmdev
Mon Sep 04, 2023 7:50 pm
Forum: Stimulsoft Reports.JS
Topic: Disabled new page action
Replies: 3
Views: 6918

Disabled new page action

Hello everything is fine? I want to disable the option to create new pages in the desiner. I saw how to disable it on the toolbar using the code: options.toolbar.showNewPageButton = false; But if I right-click on the page area, a menu of options appears with the action of including a new page. Can I...
by wprmdev
Fri Jan 13, 2023 5:05 pm
Forum: Stimulsoft Reports.JS
Topic: Add component for the design to have been displayed
Replies: 9
Views: 1186

Re: Add component for the design to have been displayed

That's exactly it. Thanks a lot Kirill Klimenkov.
by wprmdev
Wed Jan 11, 2023 5:25 pm
Forum: Stimulsoft Reports.JS
Topic: Add component for the design to have been displayed
Replies: 9
Views: 1186

Re: Add component for the design to have been displayed

Changing the order of any line will not resolve the issue. I will try to explain again. I'm creating the designer an "Add component" button. From that point on, the designer is already rendered and visible to the user. Now the user clicks on the "Add component" button. In the cli...
by wprmdev
Tue Jan 10, 2023 7:40 pm
Forum: Stimulsoft Reports.JS
Topic: Add component for the design to have been displayed
Replies: 9
Views: 1186

Re: Add component for the design to have been displayed

Hello. Please, move the renderHtml method to the very end of your createDesigner function var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false); // Create a new report instance var report = new Stimulsoft.Report.StiReport(); // Load report from url report.loadF...