field().labelInfo(), field().fieldInfo() and field().message()) will all now accept HTML elements or Dom parameters, and if given display them.null.mode() had the wrong type.language.urlcolumns.searchPanes option wasn't typedtransparent, allowing the content behind to bleed through when using FixedColumnstable-bordered.search is used along with columns.name.columns.name, a search content type and column reordering with state saving, saved state could be lost between page reloads.customizeData callback contentsuccess callbackrow() without throwing an error if a row is not found.ready() could trigger on a parent table if there is a child table inside itwindow object already exists, will no longer throw an error.jQuery().dataTable() and then accessing the .api() method must return the DataTables API instance of the host table.util.is.element() would throw an error if null was passed inlayout if an object based feature was used inside an array, Typescript would give an error (no runtime issue though).search, columns.search and searchCols didn't include a search property for the search to apply.stateRestore.bookmark configuration option can be used to control how StateRestore can load a state identified by the page URL, allowing the end user to create custom states and bookmark them, or for you to be able to create links to a table in a specific state. See the examples for a full run through of what is possible with this new feature.Please note as well that SearchPanes is now a DataTables Plus extension.
-searchPanes.container() will now return a DataTable.Dom instance, rather than a jQuery instance.util.assignDeep and util.assignDeepObjectDom.prototype.prepend() did not prepend elements if a jQuery object was passed incolumns.widthCalc option which can be used to limit the column width calculations to use the data from the current page only. This is particularly useful for React / Vue integration, which can have child components that require to be rendered before display.data and render options.columns().widths()) when used with DOMPurify.scrollX)columns should allow null entriesstyle export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.select property to the DataTables state objectstyle export for easy resolving of CSS from just the module name when used with a CSS bundler.searchBuilder property in the AjaxData interface for DataTables' ajax requestsstyle export for easy resolving of CSS from just the module name when used with a CSS bundler.scroller propertystyle export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.keyTable property to DataTables' state objectstyle export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.fixedColumns() method.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.style export for easy resolving of CSS from just the module name when used with a CSS bundler.data parameter typed and additional Ajax interfaces exportedcolumn().nodes() was returning an array in an API result set, rather than just the nodes in the result set.State and StateLoad interfaces (rather than just object)style export for easy resolving of CSS from just the module name when used with a CSS bundler.This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
There are also improvements in the code to help with using Editor in a Next.js environment. For full details, please see below.
table will now accept a React, Vue or Angular reference to the host DataTable.for attribute in label elements shouldn't have a # prefixThis release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends to support this.
data-dt-order=disable.This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends.
This release also supports evaluation of the code in a windowless environment (e.g. directly in Node.js) and is released alongside DataTables 3.1, upon which it depends.
module flag.There are a couple of fixes, but no significant changes to the actual functional code of DataTables.
Dom.on() static method for listening to events in a windowless environment (used by most extensions to listen for initialisation of a DataTable)exports so Node and bundlers will see the ESM modules natively.import 'datatables.net-bs5/css'; for examplejQuery and jQuery wasn't loaded, the element would be used as the jQuery library! This of course resulted in an error../ prefix for paths in npm packagingstatesRemoveAll was incorrectly aliasedStateRestore class which can be used with the new StateRestore 2.0 extension for DataTables. At some point the server-side versioning will be decoupled from the client-side library, but not yet!
columns.editField to the Typescript types for DataTables' columnsStateRestore class that can be used to provide an end point for reading, creating, editing and deleting states.StateRestore class that can be used to provide an end point for reading, creating, editing and deleting states.StateRestore class that can be used to provide an end point for reading, creating, editing and deleting states.StateRestore class that can be used to provide an end point for reading, creating, editing and deleting states.DataTable.util.object.assignDeepObjects() will recursively use the same array handling now, rather than deep copying nested arrays. This allows DataTable.defaults.column to now be set correctly.titleRow when used with a header that has rowspan attributes would result in some header cells being missed for the ordering icons and handler.DataTable.defaults.ordering as an object could result in auto initialisation of ordering for a second table, even if it was disabled.:visible selector with a multi-row header could result in the wrong columns being selected.table-sm width a text alignment class could result in no spacing for the ordering iconsPlease see the blog post for further information about this new release, and the upgrade notes if you are updating from v1.
Please note as well that StateRestore is now a DataTables Plus extension.
statesTable)StateRestore helper class for an end point to handle all requests.searchDelay is enabled, rather than a throttle.Dom rather than jQuerycolReorder is used, while attached to the header cells, rather than to a ColumnControl button, a JS error could occur while reordering columns.state() was used as a setterstate() was used as a setter^$ regex search should match empty stringsDataTable.ajax() with dataType: 'json' add an Accept header giving weight to JSON content type. This matches jQuery.ajax().stateSaveCallback.stateLoadCallback can accept a partial start (StateLoad)render.number() rendering helper would display incorrectlystateLoadCallback now allows either an undefined return (for async actions) or a partial state response.scrollYDataTable.State as its own typechange event when triggered by an Editor operation.
change events from input elements in the form was not triggering.:visible pseudo column selector.
:visible selector for DataTable.ColumnSelector. The ability to prefix the pseudo selector with any DOM selector string is now part of the documentation and testing. Selector code relaxed to allow other pesudo selectors to prefix this one (although :visible must come last in the sequence).scrollX. This was particularly noticeable with ColReorder, but also apparent when adding new data with long strings.on event handlers should have a DataTableEvent type, as they have the .dt property available on the event object for API access.searchDropdown and how it inherits config optionsprocessing enabled in the DataTable, when switching from card to table view, the processing indicator would show indefinitely.buttons.info() popover wasn't displaying (resulting in no confirmation message for the copy export).