Page 1 of 1

CHANGE EXPORT SETTINGS

Posted: Mon Jul 11, 2022 11:00 am
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);
});

Re: CHANGE EXPORT SETTINGS

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

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

Thank you.

Re: CHANGE EXPORT SETTINGS

Posted: Wed Jul 13, 2022 8:14 am
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

Re: CHANGE EXPORT SETTINGS

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

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

Thank you.

Re: CHANGE EXPORT SETTINGS

Posted: Wed Jul 13, 2022 4:03 pm
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

Re: CHANGE EXPORT SETTINGS

Posted: Wed Jul 13, 2022 9:29 pm
by Lech Kulikowski
Hello,

You are welcome)