I need a column of a table created with DataTables
to appear in row
mode, ie this would be the normal table:
Id | InfoColuna | InfoColuna2 | InfoColuna3 |
---------------------------------------------
1# | InfoRow1 | InfoRow2 | InfoRow3 |
---------------------------------------------
2# | InfoRow1.2 | InfoRow2.2 | InfoRow3.2 |
---------------------------------------------
However, I need the column InfoColuna3
to stop being a column, and the info contained therein is displayed under id
after pressing a button.
Remembering to be using HTML, JavaScript, PHP.
PS: I have already used the functions of columns.visible
, however this only hides the column, showing me, shows me all the data contained in it.
Any ideas for solving this?