I'm not too sure what you mean by entire row(not just the data cell). Are you wanting to actually display the html code on the screen? Is that what you mean by entire row?
If you are just wanting the Row 1 Cell 1 as a hyperlink then this code below might help.
yourjavascriptpage.js or use the upper section of code below in yourphpfile.php as echo
"<div class='link'><a href=\"../cell1.php\">Row 1 Cell 1</a></div>";
"<div class='link2'><a href=\"../cell2.html\">Row 1 Cell 2</a></div>";
"<div class='link3'><a href=\"../banners/cell3.php\">Row 1 Cell 3</a></div>";
document.getElementById("link").innerHTML = "Row 1 Cell 1";
document.getElementById("link2").innerHTML = "Row 1 Cell 2";
document.getElementById("link3").innerHTML = "Row 1 Cell 3";
yourhtmlpage.html
<td><div id="link"></div></td>
<td><div id="link2"></div></td>
<td><div id="link3"></div></td>
or maybe you are looking for something like this ....
var link = "Row 1 Cell 1";
var link2 = "Row 1 Cell 2";
var link3 = "Row 1 Cell 3";
var result1 = link.link("https://www.gosomewhere.com");
var result2 = link2.link("https://www.gosomewhere.com");
var result3 = link3.link("https://www.gosomewhere.com");
Or here is a complete javascript solution I found online for you
https://www.robertcooper.me/table-row-links