chilly_bang
Board Regular
- Joined
- Jun 17, 2016
- Messages
- 57
Hi
I have a table, looking like:
<tbody>
</tbody>
Such tables can have different amount of rows or columns, but they have always the same structure: column A has always IDs, all values in columns B, C, ... belong always to the ID in the column A of their row. So, x in A1 is an ID, lorem, ipsum, dolor in B1, C1, D1 are values of x in A1.
Now i want re-organize the table, so it'll look like:
<tbody>
</tbody>
So, all values of all IDs should stay in the one, same column, one below other, and beside of every value (on the left or on the right - not important) should stay the ID the value belongs to.
Any help is highly welcome! - thanks and best regards.
I have a table, looking like:
A | B | C | D | E | |
1 | x | lorem | ipsum | dolor | |
2 | y | uno | dos | tres | quattro |
3 | z | foo | bar |
<tbody>
</tbody>
Such tables can have different amount of rows or columns, but they have always the same structure: column A has always IDs, all values in columns B, C, ... belong always to the ID in the column A of their row. So, x in A1 is an ID, lorem, ipsum, dolor in B1, C1, D1 are values of x in A1.
Now i want re-organize the table, so it'll look like:
A | B | |
1 | x | lorem |
2 | x | ipsum |
3 | x | dolor |
4 | y | uno |
5 | y | dos |
6 | y | tres |
7 | y | quattro |
8 | z | foo |
9 | z | bar |
<tbody>
</tbody>
So, all values of all IDs should stay in the one, same column, one below other, and beside of every value (on the left or on the right - not important) should stay the ID the value belongs to.
Any help is highly welcome! - thanks and best regards.