DataTables 1.7 beta 7 released
DataTables 1.7 beta 7 released
allan
Posts: 63,498Questions: 1Answers: 10,471 Site admin
Hello all,
One more beta before the stable 1.7.0 is released (I hope - please say if you find any bugs!). This is a little bit of a code tidy up, with a couple of little bug fixes included. I don't believe that any new bugs have been introduced, but it is always good to sanity check before making a stable release! If nothing comes to light in the next few days, this release will be progressed to 1.7.0 stable.
As per usual:
Full release notes: http://datatables.net/download .
Download 1.7 beta 7 directly: http://datatables.net/releases/dataTables-1.7.beta.7.zip
Please donate to help keep DataTables under active development: http://datatables.net/donate :-)
Regards,
Allan
One more beta before the stable 1.7.0 is released (I hope - please say if you find any bugs!). This is a little bit of a code tidy up, with a couple of little bug fixes included. I don't believe that any new bugs have been introduced, but it is always good to sanity check before making a stable release! If nothing comes to light in the next few days, this release will be progressed to 1.7.0 stable.
As per usual:
Full release notes: http://datatables.net/download .
Download 1.7 beta 7 directly: http://datatables.net/releases/dataTables-1.7.beta.7.zip
Please donate to help keep DataTables under active development: http://datatables.net/donate :-)
Regards,
Allan
This discussion has been closed.
Replies
the first bug is this:
In Show and hide columns dynamically example you try to click on Toggle column 1, then Toggle column 2 and then Toggle column 3. And then you obtain this (only in IE 8.0, not in compatible IE 7.0):
http://i.imgur.com/ba5F3.jpg
The fix - change:
[code]
nThs[i].style.width = o.aoColumns[i].sWidth;
[/code]
to
[code]
iVis = _fnVisibleToColumnIndex( o, i );
nThs[i].style.width = o.aoColumns[iVis].sWidth;
[/code]
I'll release a new beta with this shortly.
Regards,
Allan
I found a resizing of the browser issue that probably has to do with the new scrolling feature. It appears the headers do not get re-sized proportionately when the table is built to 100% of an area then the area size changes because of the browser. The cell sizes are recalculated but the header cells are not. Here are a couple pics:
Browser full screen:
http://i.imgur.com/C986a.jpg
Browser restored down:
http://i.imgur.com/gZpka.jpg
Not really that big of an issue but I thought you may want to know.
The way to address this is to call the fnAdjustColumnSizing() API function, which will re-calculate the table's column sizes based on the new window sizing. Possibly the best/easiest way of doing this is attaching a 'resize' event to 'window' which will call that function.
I didn't want to do that automatically as it can be a fairly expensive process in terms of computing power when using many tables - but it might be something that I do add in if it crops up often enough!
Regards,
Allan
Until then, this is probably the best source of information for what is new in 1.7: http://datatables.net/new/1.7 . There is also a bit of upgrade information available: http://datatables.net/upgrade/1.7
Regards,
Allan
Allan