Hi,
Initially Fruits grouped like
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<pre><tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
But after add and remove all elements are appear in td
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
so only it appear like in single row.
You need to group in 4 td in tr like this
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
then only it will come 4 by 4