Scroller 1.3.0
DataTables CDN files for Scroller 1.3.0. This software was originally released on 12th August, 2015.
Release notes
Scroller 1.3.0 brings parity between this extension and all the other DataTables extensions in terms of how it can be initialised using a DataTables initialisation option (scroller), which is much easier than the old dom option (which can still be used, but is no longer documented to discourage its use).
Scroller also fully supports Bootstrap, Foundation and jQuery UI, matching DataTables core and all of the other extensions.
While the changes are primarily to present a common API with the other extensions, this release also sees Scroller adding support for integration with FixedColumns and a few small bug fixes.
New
- New: Easier initialisation - simply specify the
scrolleroption in the DataTables initialisation to activate Scroller on a table, rather than requiring thedomparameter to include anS. The old style is still supported, but will no longer be documented. This is achieved by listening for thepreInitevent from DataTables (1.10.8+). - New: The Scroller stylesheet will hide the pagination control, so the
domoption need not be specified at all to use Scroller - New: Example showing FixedColumns interop with Scroller. Note that in order to make this example work the changes required have all been made in the FixedColumns code.
- New:
row().scrollTo()method to move the table's start point to a specific row - New: Scroller can be constructed using a DataTables API instance
- New examples: Foundation, Bootstrap and jQuery UI styled examples
Updated
- Update: DataTables 1.10+ is now required
- Update - examples: Examples all now use the
nowrapclass. It generally isn't required for the demo data, but it is good practice
Fixes
- Fix: Compatibility with DataTables 1.10.8 - DataTables has changed how the scrolling container is shown (max-height) so the container would collapse completely due to the two
position:absoluteelements inside it. Fix is to relative position the height forcing element. - Fix: Error in checking
instanceofon initialisation
Files
css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.bootstrap.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.bootstrap.min.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.dataTables.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.dataTables.min.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.foundation.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.foundation.min.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.jqueryui.css
- //cdn.datatables.net/scroller/1.3.0/css/scroller.jqueryui.min.css