Need help - i am trying to add a html table content or partially table content like td alone
Need help - i am trying to add a html table content or partially table content like td alone
this is my html datatable row structure :
<tr>
<td>
<div></div>
</td>
<td></td>
<td>
<div></div>
<div><img/></div>
<div></div>
<span> </span></div> ====> when i try to add <td> test </td> inside the span
<div></div>
<div></div>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
when i try to add <td> test </td> inside the span and try to add the row in the datable with hTable.fnAddTr( tr ) i am getting the following error :
Uncaught TypeError: Cannot read property 'childNodes' of null
and
when i try to add a new entire table inside the span tag like <span>
</span> , i am getting the following error :
Warning: not adding new TR - columns and TD elements must match
Please assist. Thanks a lot in advance