Custom rendered title in DataTable column header won't work well with CSV export #6542
Open
5 tasks done
Labels
untriaged
need to sort
Describe the bug
When using a function to render the title of a header in a
DataTable
withtitle(column) {}
and than exporting this table as CSV file the column header in the CSV file will be the title function content instead of some plain text.The link I put in the minimal reproduction points to the line of code that is related to this issue.
Steps to reproduce
DataTable
with custom header, like in example https://www.naiveui.com/en-US/os-theme/components/data-table#render-headerLink to minimal reproduction
naive-ui/src/data-table/src/utils.ts
Line 215 in acced75
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: