Jump to content

collapse table example


simpli

Recommended Posts

Hi,

I have an example of a table that I would like to collapse. I have a row with the summary data for 'member 1' the next 2-3 rows contain the detail of member1's stuff. Then we have the summary for member2 and his details. How could I make the data collapse/expand when we click on the summary lines?

 

Thank you in advance

<table border='1'><tr>
<td>Nom/Choix</td><td>Points</td><td>Points bonis</td><td>total</td></tr>
<td>Member1</td><td>Total points</td><td>Total points bonis</td><td>Grand total</td></tr>

<td>Finaliste: boston</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<td>Member2</td><td>Total points</td><td>Total points bonis</td><td>Grand total</td></tr>
<tr>
<td>Finaliste: boston</td>

<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</table>

Link to comment
https://forums.phpfreaks.com/topic/151673-collapse-table-example/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.