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"?
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!
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!
This discussion has been closed.
Replies
I think this might be what you're looking for