question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hyperlinks in column cells stopped working recently

See original GitHub issue

I have been successfully using this very useful package, and until recently could implement hyperlinks in a column with the code:

gb.configure_column("ISSUE", headerName="ISSUE", cellRenderer=JsCode('''function(params) {return '<a href="https://thebcd.co.uk/issue_' + params.value + '" target="_blank">'+ params.value+'</a>'}'''), width=300)

which would result in a hyperlink to an address related to the cell value.

On editing a different part of of my app, I now find that instead of creating a hyperlink to the address, the html text is written to the screen instead:

<a href="https://thebcd.co.uk/issue_1" target="_blank">1</a>

rather than the hyperlink 1 to the address. Any help appreciated.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dajavouscommented, Aug 6, 2022

Replacing the cellRenderer parameter with params.value works. See the code at:

https://github.com/dajavous/thebcd-public/blob/main/nestedgrids.py

and the app at:

https://dajavous-thebcd-public-nestedgrids-n11jj7.streamlitapp.com/

0reactions
rafaela00castrocommented, Aug 6, 2022

@dajavaus , thank you very much for your help. It’s working, after I followed your kind instructions!! Now I can see what my problem was 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Ways To Fix Excel Hyperlinks Not Working Problem
How To Fix Hyperlinks In Excel Not Working Issue? · 1# Recreate Excel Hyperlink · 2# Uncheck Update Links on Save Option ·...
Read more >
Hyperlinks are removed or invalid after you sort cells that ...
If Excel has removed the hyperlink from the cell, select the cell and click Hyperlink on the Insert menu. Type the correct address...
Read more >
Hyperlinks not working in Outlook? How to make links open ...
The article explains why hyperlinks may not be working in Outlook and provides several solutions to fix the issue.
Read more >
(4 Ways) How to Fix Hyperlink Not Working in Excel in ...
Can't Open Hyperlink in Excel? Here are 4 ways to make it work.Download 4DDiG to recover corrupted or lost Excel files: ...
Read more >
Cursor won't change to hand and allow clicking hyperlinks
For one of the cells that won't link, right-click and select Hyperlink. Do you see anything in the Address field? If not, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found