DataTables 1.7 beta 8 released

DataTables 1.7 beta 8 released

allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
edited July 2010 in Announcements
Hello all,

One more beta... Three trivial bug fixes included in this new beta, but I'd rather have them checked out in a beta release than in the 1.7.0 release!

As per usual:
Full release notes: http://datatables.net/download .
Download 1.7 beta 8 package: http://datatables.net/releases/dataTables-1.7.beta.8.zip
Just the JS file: http://datatables.net/beta/1.7/media/js/jquery.dataTables.js
Just the JS.min file: http://datatables.net/beta/1.7/media/js/jquery.dataTables.min.js

And as always please donate to help keep DataTables under active development: http://datatables.net/donate :-)

Regards,
Allan

Replies

  • iuliandumiuliandum Posts: 70Questions: 0Answers: 0
    In Show and hide columns dynamically example, with this initialize code
    [code]
    $('#example').dataTable( {
    "bAutoWidth": false,
    "aoColumns": [
    { "sWidth": "20%"},
    { "sWidth": "25%"},
    { "sWidth": "10%"},
    { "sWidth": "20%"},
    { "sWidth": "15%"}
    ],
    "sScrollY": "200px",
    "bPaginate": true
    } );
    [/code]

    when is hide columns is obtained this:
    (only in IE 8.0, not in compatible IE 7.0):

    http://i.imgur.com/Dp6mf.jpg

    Why is there such large differences between IE6,IE7 and IE8?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The difference is in how the rendering engines handle the situation where by you have the columns which add up to a width which is less that 100% (for example, remove the first column, and you've told the columns to take up only 80% of the width available!). IE8 does this - hence why you have the gap. So I'm sorry to say that there isn't much I can do about this in DataTables - it's simply how the IE8 rendering engine deals with this. I doubt that it is correct in this case - but I would imagine it's a grey area... It would be interesting to know what happens with IE9.

    The work around for IE8 is simply to have auto width enabled, and DataTables will do the required recalculations for you.

    Regards,
    Allan
This discussion has been closed.