DataTables 2.2.2

DataTables CDN files for DataTables 2.2.2. This software was originally released on 4th February, 2025.

Release notes

This release of DataTables addresses a number of issues that have recently come to light, including addressing issues with the destroy API not cleaning up as much as it should, ASCII only for the CSS files and possible errors from the new ResizeObserver. Full details below.

Fixes

  • CSS output is ASCII only now - unicode characters are encoded
  • Remove @charset from non-minified CSS file (it already wasn't present in the minified file)
  • destroy() wasn't removing the extra markup used by DataTables for headers and sorting
  • destroy() wasn't removing automatic column classes
  • destroy() wasn't removing attributes that had been added to the header cells.
  • aria-label for sorting should be on the element with role=button
  • ready() would run with the wrong context if it had to wait for init.
  • Possible ResizeObserver thrown error due to the height of the table container changing during a column width recalculation.
  • If a column data type is null when it is sorted, it should be resolved. This could happen after data has been invalidated (e.g. after column reordering).

Docs

  • Add note to some order examples that they are v2 specific

Examples

  • Update flexible width example for how DataTables 2.2 works
  • Add lang="en" to html tag

Files

css

js