CHANGE EXPORT SETTINGS

Stimulsoft Reports.JS discussion
Post Reply
laiajun
Posts: 3
Joined: Thu Nov 25, 2021 12:23 pm

CHANGE EXPORT SETTINGS

Post by laiajun »

I am trying that when you want to export to Excel, that by default the "Data And Headers" option appears selected.

This is the code I have:

Code: Select all

report.renderAsync(function () {
        var settings = new Stimulsoft.Report.Export.StiExcelExportSettings();
        var service = new Stimulsoft.Report.Export.StiExcel2007ExportService();
        var stream = new Stimulsoft.System.IO.MemoryStream();
        settings.dataExportMode = Stimulsoft.Report.Export.StiDataExportMode.DataAndHeaders;
        service.exportTo(report, stream, settings);
});
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: CHANGE EXPORT SETTINGS

Post by Lech Kulikowski »

Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.
laiajun
Posts: 3
Joined: Thu Nov 25, 2021 12:23 pm

Re: CHANGE EXPORT SETTINGS

Post by laiajun »

Lech Kulikowski wrote: Tue Jul 12, 2022 6:10 pm Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.


This file is where the data arrives and the report is created.
I wait answer, thanks
Attachments
llistaTotal.zip
(3.69 KiB) Downloaded 93 times
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: CHANGE EXPORT SETTINGS

Post by Max Shamanov »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
laiajun
Posts: 3
Joined: Thu Nov 25, 2021 12:23 pm

Re: CHANGE EXPORT SETTINGS

Post by laiajun »

Max Shamanov wrote: Wed Jul 13, 2022 8:15 am Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
I managed to solve it, thanks!!! :D
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: CHANGE EXPORT SETTINGS

Post by Lech Kulikowski »

Hello,

You are welcome)
Post Reply