Hyperlink renderer

Tags: #<Tag:0x00007f8b25756f18> #<Tag:0x00007f8b25756bf8>

I have an ID in column 0, and a display value in column 1…

How would I get the id (or value) from column 0 and use that in a hyperlink I need in column 1 ?

Thx,
Joe

Hi @merlin2049er

Please send a code demo showing the issue so I can investigate it.

ok I figured it out… this is how I got the hyperlink to work…

Blockquote

// Create a custom renderer for hyperlinks
function hyperlinkRenderer(instance, td, row, col, prop, value, cellProperties) {
Handsontable.renderers.TextRenderer.apply(this, arguments);

var link = instance.getDataAtCell(row, 0);

// Add the hyperlink to the cell
td.innerHTML = '<a href="bins/' + link + '" target="_blank">' + value + '</a>';

};

and I hide column 0.

@merlin2049er

Thank you for the update. I will close this topic now.