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

Unescape HTML #62

Open
mbacou opened this issue Oct 2, 2019 · 1 comment
Open

Unescape HTML #62

mbacou opened this issue Oct 2, 2019 · 1 comment
Labels
question Further information is requested

Comments

@mbacou
Copy link

mbacou commented Oct 2, 2019

Is there a way to unescape HTML tags in cell contents as in DT::datatable(escape=FALSE)? I'm afraid my JS skills are very limited. Thx!
image

@praveenn77
Copy link
Collaborator

Try this...

htmlCellRendere = JS("function(params) {
return params.value? params.value : '' ;
                        }")
colOpts <- list("Status"=list("cellRendere"= htmlCellRendere))
aggrid(m,colOpts = colOpts)

@praveenn77 praveenn77 added the question Further information is requested label Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants