You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, the CSV export is doing a simple join(',') on each row and a join('\n') on all rows.
CSV actually supports (depending on the flavour different things including specifying the delimiter, having quoted fields, even having newlines in quoted fields and so on and so on.
To be useful I would at least say that we need an option to quote all fields and therefore "escape" the " inside of a field..
Hey, the CSV export is doing a simple
join(',')
on each row and ajoin('\n')
on all rows.CSV actually supports (depending on the flavour different things including specifying the delimiter, having quoted fields, even having newlines in quoted fields and so on and so on.
To be useful I would at least say that we need an option to quote all fields and therefore "escape" the
"
inside of a field..https://github.com/OvidijusParsiunas/active-table/blob/main/component/src/utils/outerTableComponents/files/CSV/CSVExport.ts#L5
Example:
It would be probably nice to expose a generic options element to the
buttons: [{ export: {} }]
element, where you can configure this.The text was updated successfully, but these errors were encountered: