I have some tables of information and which a user to click on a link on the row and for the table to expand and show the other information below that row.

I have seen switchcontent and switchicon but when trying to insert the div into a table this didn't work. All divs ended up before the table.

I want the content to load only on demand otherwise will be executing alot of SQL queries for information not needed.

I just can't find an example of a table rows appearing under another table row with different columns to the original table.

Hope this makes sense