How do I use rows as my "headers" and columns as the "data"?

How do I use rows as my "headers" and columns as the "data"?

ejwaibelejwaibel Posts: 1Questions: 0Answers: 0
edited May 2012 in General
Hi,

I enjoy your DataTables plugin and have been customizing it as needed. My question involves using DataTables to generate a table that is backwards from the way it's meant to be used. My client decided that they wanted a table where the static "headers" are the rows and the "data" for the table is in dynamically generated columns.

My question is how do I add all of the functionality of DataTables in this kind of table? I want the pagination to be defined on the columns, not the rows; the sorting should be done on each row, not column; etc.

Thanks for the help!

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    http://datatables.net/forums/discussion/5992/rotate-table/p1

    I think this might be what you're looking for
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    oh shoot. I don't have the current version of the plugin available right now. I'll re-attach the link on Monday (May 14, 2012)
This discussion has been closed.