Datatables - Column for Row

Asked

Viewed 28 times

1

I need a column of a table created with the DataTables appear in mode row, ie this would be the normal table:

Id | InfoColuna | InfoColuna2 | InfoColuna3 |
---------------------------------------------
1# | InfoRow1   | InfoRow2    | InfoRow3    | 
--------------------------------------------- 
2# | InfoRow1.2 | InfoRow2.2  | InfoRow3.2  |
---------------------------------------------

But I need that column InfoColuna3 no longer a column, and the info contained in it is below the id after pressing a button.

Remembering to be using HTML, Javascript, PHP.

PS: I’ve used the functions of columns.visible, but it only hides me the column, when showing, demonstrates me all the data contained in it.

Any idea how to fix this?

  • This post should answer: https://stackoverflow.com/questions/15745042/efficiently-convert-rows-to-columns-in-sql-server

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.