Responsive 3.0.0
DataTables CDN files for Responsive 3.0.0. This software was originally released on 15th February, 2024.
Release notes
As with a number of the other extensions for DataTables which are seeing major updates, Responsive also brings full support for multi-row and complex headers and footers in a DataTable. There are also a number of other smaller changes and fixes.
Responsive 3+ is not compatible with DataTables 1.x, it requires DataTables 2+ due to the use of the new APIs.
New
- DataTables 2 support. Please note that Responsive 3 does not support DataTables 1.x due to the use of new API methods available only with DataTables 2.
- Support for multi-row headers and footers
- Support for "complex" headers and footers (with
colspanandrowspanattributes). - Rows which are expanded (details shown, regardless of the display type) now have a
dtr-expandedclass on them. Previously they had aparentclass which has now been updated to be more consistent with other DataTables class names. listHiddenNodesrenderer which moves the DOM nodes around rather than cloning them for the details display.
Updates
- Use CSS borders to create the arrows for child row control rather than UTF-8 icons. Consistency between fonts was a problem.
Fixes
- Open / close icon was not correct for jQuery UI, Foundation and Fomantic UI when used with a modal display
- Potential endless loop when redrawing the child row could cause a Responsive update.
listHiddenNodeswas not reinserting the details elements while the page size was dynamically changed.responsive-resize's third argument would incorrectly say that Responsive had hidden columns which were hidden by DataTables' own column visibility. For consistency with other parts of the API this has been updated to reflect only what Responsive controls.- When
responsive.details.rendererreturnsfalsethedisplaycontrol does not attempt to show the row details (be it in a modal or child row). - Second parameter passed into
responsive.details.renderershould have been an integer (the row index), instead it was given as an array. Note that this is a breaking change if you had a custom renderer. It is easy to update your code for - use a row index rather than the array. If you are using the DataTables API to get the row information based on the index passed in, it will handle this automatically so no change may be needed. - Remove Responsive added classes when destroying a DataTable
- Linting errors - no functional change
- Remove existing width from a footer when cloning
- Cell restore for hidden nodes when no child nodes present
darkclass is not required for Bootstrap 5
Types
newconstructor (rarely used) returns an instance not void- Fix for
noImplicitany where a few parameters did not have types defined - Plug-in was on the wrong DataTables host object (type)
Docs
- Consistent code formatting for code snippets
Examples
- Consistent code formatting for examples
- Updated to use
layoutin DataTables 2
Files
- //cdn.datatables.net/responsive/3.0.0/importmap.json
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap4.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap4.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap5.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bootstrap5.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bulma.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.bulma.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.dataTables.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.dataTables.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.foundation.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.foundation.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.jqueryui.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.jqueryui.min.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.semanticui.css
- //cdn.datatables.net/responsive/3.0.0/css/responsive.semanticui.min.css
- //cdn.datatables.net/responsive/3.0.0/js/dataTables.responsive.js
- //cdn.datatables.net/responsive/3.0.0/js/dataTables.responsive.min.js
- //cdn.datatables.net/responsive/3.0.0/js/dataTables.responsive.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/dataTables.responsive.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap4.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap4.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap4.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap4.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap5.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap5.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap5.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bootstrap5.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bulma.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bulma.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bulma.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.bulma.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.dataTables.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.dataTables.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.dataTables.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.dataTables.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.foundation.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.foundation.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.foundation.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.foundation.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.jqueryui.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.jqueryui.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.jqueryui.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.jqueryui.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.semanticui.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.semanticui.min.js
- //cdn.datatables.net/responsive/3.0.0/js/responsive.semanticui.min.mjs
- //cdn.datatables.net/responsive/3.0.0/js/responsive.semanticui.mjs