Rotating the tables aka Transpose
Rotating the tables aka Transpose
I stumbled upon this thread and have found the plugin to work great with the old 1.8.0 version of DataTables, but i'd like to use some of the added features from the latest release.
http://datatables.net/forums/discussion/5992/rotate-table
The error i'm getting is that $nTr.addClass(oSettings.asStripClasses[i % oSettings.asStripClasses.length]); no longer has a length defined. I'm not an expert at javascript and i'm wondering if there is anyone who can help me get this working?
I think it would be an great addition to datatables and would certainly help when displaying data tables on smaller screens.
Cheers
This question has an accepted answers - jump to answer
Answers
The
asStripClasses
parameter name changed to beasStripeClasses
since it had a typo before...Out of interest, have you tried using Responsive for small screen support. What did you think of it?
Allan
That's it working great!
Whilst responsive is ok, it doesn't allow you to have 2 items set side by side so you can compare them.
Transpose lets you do that.