I've got a data which comes in json format and I would like to draw a table using jquery based on it. However, I would like to display the data as columns rather than rows. So for example,
instead of doing
<tr><td> </td> <td> </td></tr>
to add a cell for each row I would like to be able to insert data in the columns, say sth like
$("#table tr:gt(0) td:last").append("<td>" + "value" + "</td>");
This should insert an item to the bottom of column 0 or at least this is what I need. This is simply because the columns won't have the same length of items. So I would like to fill in the columns and not the rows.