Avalonia
Avalonia copied to clipboard
Improve DataGrid CSV export (copy & paste)
What does the pull request do?
Fixes some issues with DataGrid
-Clipboard implementation like "
and \n
which were not handled acc. to specs. See: https://csv-spec.org
What is the current behavior?
- Always wrap cell content in
"[...]"
- Replace
"
with""
in order to escape"
What is the updated/expected behavior with this PR?
possible to copy data with "
and line breaks
How was the solution implemented (if it's not obvious)?
Checklist
- [ ] Added unit tests (if possible)?
- [ ] Added XML documentation to any related classes?
- [ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation
Breaking changes
Obsoletions / Deprecations
Fixed issues
You can test this PR using the following package version. 0.10.999-cibuild0022440-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.0.999-cibuild0031764-beta
. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]