I have a view that has a whole table structure, typing the path of the view in the navigation bar I opened the table. I would like to create a button that would drop this table and save it as .xls Can someone help me? I've already looked for it and found it only if I created the table in other ways and not the table already created in html. Appreciate. Abs,
<table>
<tbody><tr height="20" style="height:15.0pt" bgcolor="#F0F8FF ">
<td bgcolor="#ffffff"> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="gray"> <b>Tópico </b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#d3d3d3"><b> Keyword </b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#d3d3d3"><b> Total de Postagens </b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#d3d3d3"><b> Alcance Total</b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#9be29b"><b> Positivas</b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#FFFACD"><b> Neutras </b> </td>
<td align="center" class="xl68" style="border-left:none" bgcolor="#ff9999"><b> Negativas </b> </td>
<td align="center" class="xl68" style="border-left:none"> <b> Twitter </b> </td>
<td align="center" class="xl68" style="border-left:none"> <b> Facebook </b> </td>
<td align="center" class="xl68" style="border-left:none"> <b> Instagram </b> </td>
<td align="center" class="xl68" style="border-left:none"> <b> Youtube </b> </td>
<td align="center" class="xl68" style="border-left:none"> <b> Outras </b> </td>
<td bgcolor="#ffffff"> </td>
</tr>
<tr height="20" style="height:15.0pt">
<td></td>
<td align="center" class="xl68" style="border-left:none">@topico.name</td>
<td align="center" class="xl68" style="border-left:none">@topico.name</td>
<td align="center" class="xl68" style="border-left:none">@posts.Count</td>
<td align="center" class="xl68" style="border-left:none">@reach</td>
<td align="center" class="xl68" style="border-left:none">@positivo</td>
<td align="center" class="xl68" style="border-left:none">@neutro</td>
<td align="center" class="xl68" style="border-left:none">@negativo</td>
<td align="center" class="xl68" style="border-left:none">@twitterCount</td>
<td align="center" class="xl68" style="border-left:none">@facebookCount</td>
<td align="center" class="xl68" style="border-left:none">@instagramCount</td>
<td align="center" class="xl68" style="border-left:none">@youtubeCount</td>
<td align="center" class="xl68" style="border-left:none">@outros</td>
<td> </td>
</tr>
</tbody>
</table>