Rotating the tables aka Transpose

Rotating the tables aka Transpose

9Ly3pbWbfpW9Ly3pbWbfpW Posts: 2Questions: 1Answers: 0

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

  • allanallan Posts: 61,938Questions: 1Answers: 10,157 Site admin
    Answer ✓

    The asStripClasses parameter name changed to be asStripeClasses 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

  • 9Ly3pbWbfpW9Ly3pbWbfpW Posts: 2Questions: 1Answers: 0

    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.

This discussion has been closed.