Open amitmadahar opened 1 year ago
using cell renderer to render a hyperlink column of a dataframe produces different results on windows and linux.
Cell renderer:
jsCodeLink = JsCode("""function(params) {return `<a href="${params.value}" target="_blank"> Source Link </a>`}""")
Attaching Cell Renderer to ag-grid:
builder.configure_column("Hyperlink", headerName="Link", cellRenderer= jsCodeLink, width=100)
Output in windows is as expected: Hyperlink displayed as hyperlink.
Output in linux is rendered as text with the same renderer.
Unescaping in javascript and or in AgGrid does not fix the issue.
using cell renderer to render a hyperlink column of a dataframe produces different results on windows and linux.
Cell renderer:
Attaching Cell Renderer to ag-grid:
Output in windows is as expected: Hyperlink displayed as hyperlink.![image](https://user-images.githubusercontent.com/34081823/227717231-a827f505-925a-47d3-9473-939ae4f86426.png)
Output in linux is rendered as text with the same renderer.![image](https://user-images.githubusercontent.com/34081823/227717251-c58aa60a-cd36-40f8-bcb4-00becdf4bb25.png)
Unescaping in javascript and or in AgGrid does not fix the issue.