DataTables 1.10.13
DataTables CDN files for DataTables 1.10.13. This software was originally released on 6th December, 2016.
Release notes
Its been a while since the last update to DataTables core, so this release is a cumulation of bug fixes and other updates from the last six months. There isn't anything major here, the 1.10 branch is quite stable, but none the less this is a recommend upgrade for everyone using DataTables to address issues that have been found.
Javascript core
- New
- New:
stateLoadCallback
can now use a callback function for async loading of state data, rather than requiring it to be sync. - New:
$.fn.dataTable.isDataTable()
will now check for DataTable API instances as well (i.e. variables passed in) - New: Add
first_last_numbers
pagination option
- New:
- Updates
- Performance -
slice()
can be quite slow when modifying arrays for the filtering, so usepush()
instead.
- Performance -
- Fixes
- When assigning a handler for multiple events, automatically add the
dt
namespace. It worked before for single events, but not multiple. - Accept
language.url
being undefined, empty string or null. - Make date detection a lot more strict. Only ISO8601 style strings will be detected as valid dates now. Anything else would require a plug-in.
- If the paging active element was index 0, it wouldn't be refocused
- When replacing child row information, detach the element rather than removing which would destroy the event handlers. A remove action will still call
$().remove()
to clean up any event handlers. caption
tags should have thecaption-side
CSS value read from thecaption
tag itself, not thetable
tag.- Using
columns.data
to access a data point which uses a backslash in its name would result in an error due to an incorrectly escaped regex. - If initialising a DataTable when the window was horizontally scrolled the browser detection would incorrectly determine that rtl layout was being used (effects scrolling view).
- Row selector would incorrectly select rows if row index 0 was passed in with a selector modifier.
- jQuery selectors which had a comma in them were incorrectly split by DataTables causing them to be invalid or give incorrect results
- Number renderer was not correctly rounding values
- Remove deprecated jQuery
$().bind()
and$().unbind()
use, replaced with the$().on()
and$().off()
methods. - Improve column selector when used with a complex jQuery selector for pseudo selectors
- When sorting a date column, an empty string would be incorrectly used as 1970-01-01.
- When assigning a handler for multiple events, automatically add the
Styling
- Fixes
- Bootstrap 4 flexbox grid
- Remove outdated CSS for old versions of Firefox
- Foundation 6 styling for the processing element needs to use the
callout
class
Examples
- Updates
- Semantic UI integration for all DataTables extensions is now complete as it will be available in Editor 1.6. This integration is no longer just a tech preview, but rather a core part of DataTables styling options and will be included on the CDN builder soon.
- Fixes
- Typo in row callback example
Documentation
- Fixes
- Typo in
rowCallback
's markup - Clarify the meanings of the orthogonal data types for rendering functions in
columns.render
documentation - Add a link to the manual from the
columns.render
page - Correct jQuery selector error in
row().invalidate()
examples - Typo in description of
columns.orderable
dom
description should detail how to add an id and a class- Typo in
orderClasses
documentation - Typo in
columns
- Typo in
filter()
description
- Typo in
Files
js
- //cdn.datatables.net/1.10.13/js/dataTables.bootstrap.js
- //cdn.datatables.net/1.10.13/js/dataTables.bootstrap.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.bootstrap4.js
- //cdn.datatables.net/1.10.13/js/dataTables.bootstrap4.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.foundation.js
- //cdn.datatables.net/1.10.13/js/dataTables.foundation.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.jqueryui.js
- //cdn.datatables.net/1.10.13/js/dataTables.jqueryui.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.material.js
- //cdn.datatables.net/1.10.13/js/dataTables.material.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.semanticui.js
- //cdn.datatables.net/1.10.13/js/dataTables.semanticui.min.js
- //cdn.datatables.net/1.10.13/js/dataTables.uikit.js
- //cdn.datatables.net/1.10.13/js/dataTables.uikit.min.js
- //cdn.datatables.net/1.10.13/js/jquery.dataTables.js
- //cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js
css
- //cdn.datatables.net/1.10.13/css/dataTables.bootstrap.css
- //cdn.datatables.net/1.10.13/css/dataTables.bootstrap.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.bootstrap4.css
- //cdn.datatables.net/1.10.13/css/dataTables.bootstrap4.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.foundation.css
- //cdn.datatables.net/1.10.13/css/dataTables.foundation.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.jqueryui.css
- //cdn.datatables.net/1.10.13/css/dataTables.jqueryui.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.material.css
- //cdn.datatables.net/1.10.13/css/dataTables.material.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.semanticui.css
- //cdn.datatables.net/1.10.13/css/dataTables.semanticui.min.css
- //cdn.datatables.net/1.10.13/css/dataTables.uikit.css
- //cdn.datatables.net/1.10.13/css/dataTables.uikit.min.css
- //cdn.datatables.net/1.10.13/css/jquery.dataTables.css
- //cdn.datatables.net/1.10.13/css/jquery.dataTables.min.css
- //cdn.datatables.net/1.10.13/css/jquery.dataTables_themeroller.css