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

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