Export cross-tab to csv. Header

Stimulsoft Reports.JS discussion
Post Reply
ales78
Posts: 13
Joined: Mon Jul 29, 2019 1:17 pm

Export cross-tab to csv. Header

Post by ales78 »

Hello.

I create a report form with standard cross-tab, specifying for all first row columns of its header property "Enabled": false,
then render the report and export result to csv-file using node.js environment.
So I get the content of generated csv-file:

Code: Select all

CrossTab1_Row1;CrossTab1_Column1;CrossTab1_Column1
;Jan, 2015;Oct, 2015
Endocrinologist;1;
Pharmacy;1;1
Physician;1;
STK-PULM;;1
Therefore, I have 2 question:
1. How can I specify captions of column in the header, instead CrossTab1_Row1;CrossTab1_Column1;CrossTab1_Column1?
2. How can I make one-level header, instead the two-level header? Note: export the header to pdf is working good, I got one-level header in this case.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export cross-tab to csv. Header

Post by HighAley »

Hello,

You could get some information from the User Manual.
I am not sure that all features are available in JS engine.

Please, send us sample of your report to be sure that it will work in your case.

Thank you.
ales78
Posts: 13
Joined: Mon Jul 29, 2019 1:17 pm

Re: Export cross-tab to csv. Header

Post by ales78 »

Hi there

1. I didn't find any info about export cross-tab to csv in your manual. Could you give me a link, please?
2. What's sample do you constantly need? Let's take your demo cross-tab sample (https://demo.stimulsoft.com/#Js/StandardCrossTab), please, and render the report to csv-file. You will get the same result, that I described above.
3. Also I found bug. Sorting is not working in cross-tabs. I set property "Sort Direction": "Desc" for any rows or columns, but this has no effect - already I get ascending sort order of data. Essentially it doesn't depend on export target, so exported pdf-file has invalid sort order too.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export cross-tab to csv. Header

Post by HighAley »

Hello.

There is an issue with exporting Cross-tab to CSV.
We need some time for analysis.

The issue with sorting is confirmed too.

Thank you.

Ticket reference: #1032, #1033
ales78
Posts: 13
Joined: Mon Jul 29, 2019 1:17 pm

Re: Export cross-tab to csv. Header

Post by ales78 »

Hello.
How is the progress with Tickets #1032, #1033?
Where can I look their status?
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Export cross-tab to csv. Header

Post by Lech Kulikowski »

Hello,

The issue with sorting (#1032) is fixed.

Thank you.
Post Reply