Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting to XLSX: keeping text formatting #216

Open
werkstattcodes opened this issue Dec 8, 2021 · 1 comment
Open

Exporting to XLSX: keeping text formatting #216

werkstattcodes opened this issue Dec 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@werkstattcodes
Copy link

This is related to issue #194.

The reactable I am regularly using/sharing contains data which is color coded, i.e. certain words in a text field have specific colors (using e.g. <span style='color:red;'>keyword</span>; the color is displayed by using coldDef(html=T).

When exporting the table with the current csv option, these color codes get not translated/are kept as text. Is there any avenue to get the color codes also exported so that e.g. the keyword would be also red when exporting the table to excel?

Many thanks.

@werkstattcodes werkstattcodes changed the title Exporting to XLSX: keeping text formating Exporting to XLSX: keeping text formatitng Dec 8, 2021
@werkstattcodes werkstattcodes changed the title Exporting to XLSX: keeping text formatitng Exporting to XLSX: keeping text formatting Dec 8, 2021
@glin
Copy link
Owner

glin commented Jan 3, 2022

I don't know enough about Excel to tell if this is possible, sorry. Is there any way to import raw HTML into Excel, or get Excel to interpret CSV content as HTML? If so, then it might be possible.

@glin glin added the enhancement New feature or request label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants