CSV Export ending with Newline

Hi, while using Grid Widget Export CSV button, the file exports fine, but doen't add a Newline character for ending file just like Microsoft Excel does.


The screen of the left was created with Export CSV button, the screen on the right with the Save As button in Microsoft Excel:

Image_9098_1705130634514


How the last character (Newline) could be added?

Thank you.



7 Replies 1 reply marked as answer

RO Rodrigo January 22, 2024 01:15 AM UTC

Hi, any updates on this issue? Thank you. Regards.



JC Joseph Christ Nithin Issack Syncfusion Team January 22, 2024 09:49 PM UTC

Hi Rodrigo,


  Greetings from Syncfusion support.


  Currently we are validating your query, we will provide further details on or before 24th January 2024. We appreciate your patience until then.


Regards,

Joseph I.



RO Rodrigo replied to Joseph Christ Nithin Issack January 26, 2024 04:41 AM UTC

Hi Joseph. Do you have any updates on this issue? Thank you.


Regards



JC Joseph Christ Nithin Issack Syncfusion Team January 29, 2024 05:39 PM UTC

Hi Rodrigo,


We have confirmed the reported scenario as a issue from our side and logged a defect report for the same as "The new line character at the end of the row is not added while exporting Grid to CSVAt Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release scheduled to be rolled out on 7th February, 2024. We appreciate your patience until then.


You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below link.


Feedback link: 
The new line character at the end of the row is not added while exporting Grid to CSV | Feedback Portal (syncfusion.com)


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors, but not limited to QA checks and works reprioritization.



RO Rodrigo replied to Joseph Christ Nithin Issack January 29, 2024 06:02 PM UTC

Hi Joseph, thanks for your quick response. Could you give me permission to track the issue? when i click the feedback link, cant access it.


Image_9094_1706551333007



RO Rodrigo replied to Joseph Christ Nithin Issack February 7, 2024 04:56 PM UTC

Hi Joseph, i'd like to know if the bug has been fixed in this new version. I can't find it listed on the Release Notes 

https://ej2.syncfusion.com/aspnetmvc/documentation/release-notes/24.2.4?type=all#grid


Thank you, regards.



JC Joseph Christ Nithin Issack Syncfusion Team February 12, 2024 08:15 PM UTC

Hi Rodrigo,


We are glad to announce that our Essential Javascript2 patch release (v24.2.4) has been rolled out successfully and in that release, we have added the fix for the issue - “The new line character at the end of the row is not added while exporting Grid to CSV”. So please update your packages to this version to include this fix.


Sample: https://stackblitz.com/edit/argq6o-h7cku8?file=index.html,index.js


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.



Marked as answer
Loader.
Up arrow icon