Exporting p-table with non exportable columns may lead in unecessary ending csvSeparator #14248
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Considering a table with 3 columns and only the first two being exportable, the current behavior will result in a exceeding csvSeparator after the second column within the CSV file, thus displaying an empty 3rd column within most csv file readers.
Environment
Angular 16 & PrimeNG 16
Reproducer
No response
Angular version
16.2.12
PrimeNG version
16.9.1
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
20.9.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: