We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

ReportViewer: Possibility to change the column separator in csv export.

Hello,


is it possible to change the separator of the Values in the csv export programmatically?


I have not found a setting for this.




3 Replies

AM Arumugasami Murugesan Syncfusion Team January 16, 2023 07:01 AM UTC

Hi Gregory Kohle,

Thanks for contacting Bold Reports support.

Please refer the below documentation to change the separator in CSV export.
https://help.boldreports.com/embedded-reporting/javascript-reporting/report-viewer/export-report/#csv-export-options

CODE SNIPPET:

reportOption.ReportModel.CsvOptions = new BoldReports.Writer.CsvOptions()

    {

        Encoding = System.Text.Encoding.Default,

        FieldDelimiter = ",",

        UseFormattedValues = false,

        Qualifier = "#",

        RecordDelimiter = "@",

        SuppressLineBreaks = true,

        FileExtension = ".txt"

    };


Regards,
Arumugasami M



GK Gregory Kohle January 17, 2023 07:55 AM UTC

Thank you!



AM Arumugasami Murugesan Syncfusion Team January 18, 2023 05:57 AM UTC

Gregory Kohle,


We are glad to hear that the reported issue has been resolved on your end. If you face any other issues, we suggest you open a new ticket using your account. 

https://support.boldreports.com/create


Loader.
Live Chat Icon For mobile
Up arrow icon