Responsive layout not working properly
-
I have been using this plugin for a long time. Recently, I decided update it from version 0.10.1 to 0.12.5.
After that, my tables rendered badly, as shown in the pictures below:BEFORE UPDATE
https://www.dropbox.com/s/kadurfddxo60ysj/good-1.png?dl=0
https://www.dropbox.com/s/rij4cvhuf5wgry8/good-2.png?dl=0AFTER UPDATE
https://www.dropbox.com/s/yvn6zdy6y18v2uy/bad-1.png?dl=0
https://www.dropbox.com/s/s3n0i9ji9efbv8i/bad-2.png?dl=0The problem was solved when I edited the file inline-gdocs-viewer.php and changed the version of the library dataTables.responsive.min.js used by the plugin, as follows:
'datatables-responsive' => array( //'src' => '//cdn.datatables.net/responsive/2.1.0/js/dataTables.responsive.min.js', 'src' => '//cdn.datatables.net/responsive/2.0.0/js/dataTables.responsive.min.js',In my tests with this library, version 2.0.0 seems to be the last bug free version. Versions 2.0.1, 2.0.2, 2.1.0, 2.1.1 are all buggy.
Off course this is a problem that must be solved by the Datatables folks but, until this occurs, it would be wise to release a new version of your plugin, with the library downgraded in the code. Below, a copy of my table for test:https://www.dropbox.com/s/1pcx47lh2783nq7/resultados-2015.csv?dl=0
The topic ‘Responsive layout not working properly’ is closed to new replies.