JSFiddle - React, Tailwind, and code Playground
HTML
<table border="1">
<thead>
<tr>
<th>title</th>
</tr>
</thead>
<tbody>
<tr>
<td class="entry">
<a href="#expand">Title Text (click here)</a>
<div class="description">hola</div>
</td>
</tr>
</tbody>
</table>
CSS
a {text-decoration: none; color: black; }
#expand {background-color: #fff;}
.description {display: none; }
.entry {margin: 0; padding: 0px;}
JavaScript
$(document).ready(function(){
$(".entry a").click(function() {
$(this).parents('.entry').find('.description').slideToggle(1000);
return false;
});
});