DataTables releases feed http://www.datatables.net/ en-us Software release information for DataTables and its extensions SearchPanes 2.3.3 released Patch release to address some issues which have come to light. Please see release notes below for full details.

  • Setting a default for layout that wasn't exactly in alignment with the DataTables default would cause table features to be rendered on the pane DataTable.
  • Margin error which was visible in dark mode with DataTables styling
  • Binning of data was incorrect when data resolves to be an array
  • If language.url is set as a default it could cause an error with the incorrect number of columns in the panes

Download SearchPanes 2.3.3

]]>
Wed, 09 Oct 2024 07:48:48 GMT http://www.datatables.net/#640 http://www.datatables.net/
SearchBuilder 1.8.1 released Patch release to address a few individual issues - see the full list below.

  • searchBuilder.getDetails() would throw an error if called when no rules are applied
  • SearchBuilder button shows a count of applied filters, not empty rows
  • Address overflow of clear box
  • Limit search for data types to those built into DataTables
  • Add string normalization in search field
  • Corrections to Bulma dark mode integration

Download SearchBuilder 1.8.1

]]>
Fri, 04 Oct 2024 08:18:38 GMT http://www.datatables.net/#639 http://www.datatables.net/
FixedColumns 5.0.3 released Functionally identical to 5.0.2, this release brings the Typescript definitions for FixedColumns up to date and fixes a few issues with them.

Typescript

  • Update types for v5

Download FixedColumns 5.0.3

]]>
Fri, 04 Oct 2024 08:05:23 GMT http://www.datatables.net/#638 http://www.datatables.net/
DataTables 2.1.8 released A patch release that primarily addresses an issue when paging and scrolling are using together, and changing page would result in column misalignment.

Fixes

  • Date rendering would always set the properties of the data type, even if already added.
  • Remove the setting of role="row" for the header row.
  • Columns where misaligned from the second page onwards when using paging and scrolling.

Typescript

  • Need to export ObjectColumnRender for Select extension

Download DataTables 2.1.8

]]>
Fri, 04 Oct 2024 08:00:13 GMT http://www.datatables.net/#637 http://www.datatables.net/
FixedColumns 5.0.2 released Deploy to NPM didn't run for 5.0.1, so rereleasing with one change to the Typescript types file.

  • Typescript: Export the DataTable object

Download FixedColumns 5.0.2

]]>
Wed, 25 Sep 2024 06:47:52 GMT http://www.datatables.net/#636 http://www.datatables.net/
DataTables 2.1.7 released This release reverts a change from 2.1.5 that impacted column width calculations. It also addresses a number of issues for compatibility with older versions of Safari (9+ is current supported by the DataTables 10 year window of support). There are a couple of other issues addressed - see the details below.

  • Column width issues
  • ready() could fire multiple times if a table is destroyed and then recreated
  • null in a column that is detected as a string with a diacritic would throw a JS error when sorting.
  • Safari 9 doesn't support String.prototype.normalize
  • Safari 9 compatibility - doesn't have a childNodes.forEach function.
  • Change where the name of the data type detection function is stored as old Safari didn't allow dynamic changes of a function name
  • A few let variables had slipped in, which doesn't work in old Safari
  • Remove the use of Array.prototype.flat() as it wasn't supported in Safari until v12

Download DataTables 2.1.7

]]>
Fri, 20 Sep 2024 11:59:11 GMT http://www.datatables.net/#635 http://www.datatables.net/
DateTime 1.5.4 released A couple of small fixes.

  • Fix: Allow a small margin at the far right when displaying the selection box
  • Fix: Put close listener on the document rather than body in case the document is shorter than the window height.

Download DateTime 1.5.4

]]>
Fri, 13 Sep 2024 09:01:37 GMT http://www.datatables.net/#634 http://www.datatables.net/
Select 2.1.0 released This release of Select has two major new features - support for the ability to indicate that a row should not be selectable, and also server-side processing support by remembering what rows have been selected. See the release notes below and documentation linked in them for details.

New

  • select.selectable() to allow dynamic assignment of the row selectable function.
  • select.selectable option which is a callback that can be used to determine if a function can be selected or not.
  • select.cumulative() method which can be used with server-side processing to get all selected rows across multiple pages.

Fixes

  • When the header checkbox is in select-page mode, it will now correctly reflect the status of the current page and operate only on the current page.

Typescript

  • Add select() renderer to types

Download Select 2.1.0

]]>
Thu, 12 Sep 2024 11:04:02 GMT http://www.datatables.net/#633 http://www.datatables.net/
DataTables 2.1.6 released This release re-enables automatic column type detection for server-side processing, doing the detection immediately, rather than waiting for column interaction. A couple of other issues are addressed as well.

New

  • Auto column type detection can now be disabled with the new detectType option.

Fixes

  • Handle sparse arrays more completely for the time in-between a row being removed and it being redrawn
  • i18n was bubbling if used with an Ajax file, but not otherwise
  • Server-side processing auto type detection is enabled aga in (was removed in 2.1.0). It will attempt column type detection immediately, which was a large part of the issue before, in that the column type would not be detected until a user requested a column type (e.g. for SearchBuilder).

Download DataTables 2.1.6

]]>
Fri, 06 Sep 2024 12:29:23 GMT http://www.datatables.net/#632 http://www.datatables.net/
DataTables 2.1.5 released A few fixes in this release, significantly including a fix for an issue when exporting data from a large table with Buttons.

New

  • DataTable.ext.classes.paging.nav option to add classes to the <nav> element for the pagination control.

Fixes

  • API instances created with a large data set could cause an overflow error in Chrome. This was particularly evident in Buttons file exports.
  • Add classes for cells (columns.className) to cells before createdRow is called
  • Column widths given by columns.width will now increase a column's size if needed.
  • Bulma integration had two <nav> elements for the pagination control
  • Correct error when using scrolling and RowGroup - column sizing was incorrect

Download DataTables 2.1.5

]]>
Fri, 30 Aug 2024 11:26:06 GMT http://www.datatables.net/#631 http://www.datatables.net/
Responsive 3.0.3 released A focus on performance in this release, yielding significant improvements in most use cases.

Fixes

  • Performance: Delay Responsive calculations until the table is ready
  • Performance: Improvement for cases where table contents are cloned for responsive detail renderers, rather than moving them around

Download Responsive 3.0.3

]]>
Fri, 30 Aug 2024 11:20:56 GMT http://www.datatables.net/#630 http://www.datatables.net/
Buttons 3.1.2 released Couple of small fixes, including changes to how the buttons are defined in Typescript.

New

  • Copy button - Add enablement control to the successfully copied message

Fixes

  • Callback wasn't executed in "copy" button when execCommand failed
  • missing call to cb in "copy" when clicking to cancel

Typescript

  • Collection button type defs were not correct.

Download Buttons 3.1.2

]]>
Fri, 30 Aug 2024 11:14:08 GMT http://www.datatables.net/#629 http://www.datatables.net/
DataTables 2.1.4 released A patch release to address a couple of issues and extend the utility of the column selector for visible columns.

Updated

  • The :visible column selector can now have a DOM selector in front of it to select visible columns based on the selector given.

Fixes

  • Columns with purely boolean data were not sorting correctly as they were treated as empty
  • With ordering disabled, changing column visibility would throw an error

Download DataTables 2.1.4

]]>
Fri, 16 Aug 2024 08:27:41 GMT http://www.datatables.net/#628 http://www.datatables.net/
Select 2.0.5 released Patch release to address checkbox issues.

Fixes

  • Allow the select all on page checkbox to be shown when server-side processing is enabled
  • Minified version of Select didn't display the header checkbox
  • Checkbox wasn't selected when clicking on the row when in server-side processing mode

Download Select 2.0.5

]]>
Wed, 14 Aug 2024 12:54:32 GMT http://www.datatables.net/#627 http://www.datatables.net/
SearchPanes 2.3.2 released A small release to address a couple of issues.

Fixes

  • Sorting (via panel control buttons) was only working the first time and then failing to do anything.

Typescript

  • Add searchPanes DataTables' features

Download SearchPanes 2.3.2

]]>
Wed, 14 Aug 2024 12:51:39 GMT http://www.datatables.net/#626 http://www.datatables.net/
SearchBuilder 1.8.0 released Addresses issues related to date / time search and various other points.

Please note that this version of SearchBuilder explicitly requires DataTables 2+ and 2.1 for compatibility with date / time search operations.

Fixes

  • Make sure that full width is used for the SearchBuilder container
  • Support for module loading with Luxon and Moment.js through DataTables.use()
  • Support for DataTables 2 datetime data types

Typescript

  • Add searchBuilder to DataTables' features

Download SearchBuilder 1.8.0

]]>
Wed, 14 Aug 2024 12:37:46 GMT http://www.datatables.net/#625 http://www.datatables.net/
ColReorder 2.0.4 released A patch release to address a couple of issues.

Fixes

  • Column sorting was incorrect after reload when state saving is enabled
  • Handle case where saved state does not include column details.

Download ColReorder 2.0.4

]]>
Wed, 14 Aug 2024 12:33:22 GMT http://www.datatables.net/#624 http://www.datatables.net/
DataTables 2.1.3 released A couple of small fixes for issues that have come to light.

Fixes

  • Processing indicator did not stay on while drawing when clicking to sort with server-side processing
  • State saving wasn't restoring paging when used with Ajax
  • If a boolean was passed to the stripHtml function, it would throw an error

Typescript

  • use method did not explicitly set return types

Docs

  • Fix error on layout page where null was in quotes

Download DataTables 2.1.3

]]>
Thu, 01 Aug 2024 11:44:23 GMT http://www.datatables.net/#623 http://www.datatables.net/
Buttons 3.1.1 released Fixes for DataTables 2.1's support of Bulma 1.0.

  • Fix: Excel button was calling customizeData twice if present
  • Fix: Bulma styling on narrow screens would not centre the buttons as expected
  • Fix: Full support for Bulma 1.0+

Download Buttons 3.1.1

]]>
Thu, 01 Aug 2024 11:28:10 GMT http://www.datatables.net/#622 http://www.datatables.net/
Select 2.0.4 released This release addresses a couple of issues in select, particularly to do with the checkbox select. Bulma 1 support is also added (including its dark mode).

  • New: Support for Bulma 1's dark mode
  • Fix: Columns with checkboxes might, or might not, be sorted correctly based on their content when using orderDataType and legacy checkboxes.
  • Fix: Remove header checkbox on destroy
  • Fix: When there is no data in the table, type detection for checkbox columns would fail (requires DataTables 2.1). Note: Related to this, before DataTables 2.1 if searching and ordering on a DataTable were disabled, type detection would fail. DT2.1 addresses that.

Download Select 2.0.4

]]>
Thu, 01 Aug 2024 11:23:12 GMT http://www.datatables.net/#621 http://www.datatables.net/
DataTables 2.1.2 released A couple of fixes for errors that were inadvertently introduced with 2.1.0. For the eagle-eyed you might have noticed that there was no 2.1.1 release - this is for legacy reasons. Many years ago I inadvertently tagged DataTables as 2.1.1, when I'd been meaning to tag Buttons. That version was immediately deprecated, and with this release we finally get past the point of that non-existent version.

Fixes

  • State saving and column visibility could cause rendering issues on reinitialisation
  • When columns are hidden and ordering, they should still have the header classes applied to indicate ordering.

Examples

  • DataTables wasn't being listed in the files loaded in the examples on the site
  • Refine the class and id layout example for different frameworks

Docs

Download DataTables 2.1.2

]]>
Wed, 24 Jul 2024 11:17:42 GMT http://www.datatables.net/#620 http://www.datatables.net/
DateTime 1.5.3 released Software is identical to 1.5.2. This release is to make DateTime available on composer.

  • New: Add support for composer distribution.

Download DateTime 1.5.3

]]>
Wed, 24 Jul 2024 09:38:21 GMT http://www.datatables.net/#619 http://www.datatables.net/
DataTables 2.1.0 released DataTables 2.1 is here! There are a number of new features and improvements, particularly for the layout grid of features around the DataTable. There are also internationalisation improvements, type detection enhancements and a whole number of fixes.

Full details are available below in the release notes, and summary documents are also available:

New

  • div feature which can be used to insert text or HTML in the DataTables controlled layout grid. It does not provide any information or control over the table itself.
  • layout now has the ability to set class names on the rows and cells of the layout grid. This gives you complete control over the markup that is used to control the grid, allowing it to fully replace all options that exist in dom.
  • DataTables styling updated to use flexbox for layout, allowing much more flexibility.
  • All styling frameworks updated to have control elements which are in the same position (i.e. an array of items) will now place them side by side.
  • All styling frameworks will evenly space layout full row items.
  • If no width style or width attribute is found on the table, we now automatically assign the table 100%. If either is found, they are retained. This is done to simplify the HTML needed, and the width attribute is long since obsolete in HTML (although still works). Disabling autoWidth will stop 100% width being assigned automatically.
  • Reintroduce the deferLoading option which is used to delay the first request for data when server-side processing is enabled until the second draw of the table.
  • Type detection is now far more functional in that it it is possible to specify that at least one data point in a column match a specific test. Previously all data points had to pass a given test (allOf), but now in addition to that an extra function can be given to help limit data selection (oneOf).
  • Automatic detection and ordering for accented characters in the data set. This is done by making use of the improved data type detection to allow non-UTF8 columns to continue to use simple ASCII string sorting (for performance), but columns with UTF-8 characters in them will now use localeCompare automatically for sorting, which the locale specified by the end user's browser preferences. Please note that this requires Safari 10.1 or newer if you are using Safari. If you are using an older version, it will automatically fallback to treating the column as a simple string type.
  • orderDescReverse option which can be used to disable the reversal of data when doing a descending order. This can make the ordering of data more like how Excel operates when data matches in the column being ordered on.
  • language.aria.paginate.number option which can be used to set an ARIA label for the number buttons in the pagination control.
  • search.processing option which can be used to show the processing indicator (processing) when the end user types into the search box.
  • Ability to control what buttons appear in the paging control through three new options for the feature. This provides similar functionality to paging.type but is more intuitive. It also allows the paging feature code to be more compartmentalised, and will allow a reduction in code size when the deprecated properties are removed. The new options are:
  • DataTable.use() method which can inform DataTables libraries such as Moment and Luxon in a module loader environment.
  • Support for Bulma 1 and Bulma's new dark mode
  • Automatically detect d as a string on a JSON response and parse it as JSON for use (if it is valid JSON). This is for improved compatibility with .NET so ajax.dataSrc doesn't need to be specified for this wrapper.
  • nav element is now used to wrap around the pagination control. This is done to help improve accessability. To preserve CSS backwards compatibility the host element div.dt-paging is retained, and the new nav is a child of that, with the paging elements and child of that in turn. It means there is an extra tag than can be considered redundant, but that's the trade off for adding the element.

Deprecated

  • pagingType and paging.type are now redundant and will be removed in DataTables 3. If you are using these properties it is recommended that you update them when possible.

Updates

  • Use button elements for Bootstrap 5's pagination control, as they are more suitable for in page navigation and Bootstrap fully supports this.
  • If there are multiple layout items in a single cell, they will now show on the same line on larger screens and collapse to a single column for small screens.
  • Disable auto type detection when server-side processing is enabled. Without the full data set available it is unreliable and error prone. If you need specific type actions (e.g. a class name) you can assign a type to a column using columns.type.

Fixes

  • Using a <span> in language.lengthMenu could result in duplication of the page length <select> tag.
  • aria-sort attribute would not be added to the table if multi-column ordering and the first column to be ordered upon was hidden.
  • Don't add tabIndex to the paging buttons if its value is 0 as it is redundant
  • Tidy up the order of initialisation when a language file is loaded
  • It was possible for date time types to overlap due to the replacement of characters in the name. That is not required as the data type names are just a plain string.
  • The new type detection is used to prevent HTML columns without numbers being detected as numeric columns (e.g. this happened with FontAwesome icons in a column).
  • Type detection was not running if both ordering and searching were disabled.
  • Tighten the date data type detection to make sure at least one cell has a date in it.
  • If ajax.url === '' the ajax.data parameter would only correctly trigger once.
  • Reordering initial data load to allow data-* attributes to be used to define column data points

Examples

  • New examples for grid layout and id/class demonstrations.

Docs

  • Add mention of how to restore the DataTables 1.x columns.orderSequence default value to the documentation for that parameter.
  • layout update for id and class name options, plus a bit of rearrangement
  • Fix link to dt-error
  • Reflect that the aria values for pagination are now set in 2.0+

Download DataTables 2.1.0

]]>
Fri, 19 Jul 2024 06:16:48 GMT http://www.datatables.net/#618 http://www.datatables.net/
Buttons 3.1.0 released The main aspect of this release is a rewrite of how the Typescript types for prebuilt buttons work. It is now more selective based on the extend property (giving only relevant options for the button in question) and can be extended by external libraries now.

New

  • Option to load custom scripts in print page

Fix

  • Tighten up the ISO8601 date detection for Excel formatting. It must be in the date range 1900-9999.

Typescript

  • Rewrite how the buttons are defined, so options can be split per button type and other extensions can define their own buttons.
  • Add Buttons to DataTables' features

Examples

  • Correct styles for multiple styling frameworks

Download Buttons 3.1.0

]]>
Fri, 19 Jul 2024 05:29:49 GMT http://www.datatables.net/#617 http://www.datatables.net/