Needs work
Project:
DataTables
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 May 2026 at 14:05 UTC
Updated:
1 Jun 2026 at 17:01 UTC
Jump to comment: Most recent
According to https://datatables.net/, the DataTables library is currently 2.3.8. In the module used 1.10. To keep using it, we need to update it.
See the README.txt file or look at the official page on https://www.drupal.org/project/datatables.
Update version to 2.x.
None.
None.
None.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
just-me commentedComment #4
just-me commentedI've updated the datatables.js logic with no jQuery. Please review it.
Updated the libraries to connect to the new DataTables 2.3.8 version.
The new version of DataTables is here.
My installer-paths from the composer.json are:
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/datatables": ["npm-asset/datatables.net"],
...
}
Comment #5
just-me commentedComment #6
quadrexdevComment #7
just-me commentedComment #8
just-me commentedUpdated according to the PR suggestions.
Comment #10
just-me commentedMerged to 2.x, thanks to everyone.
Comment #14
dqdThanks for all the work on this, but: Please elaborate on this and this a little bit more since this should actually belong to a new version of the Drupal project and please do NOT add hard coded styles into module markup. Also, as I stated on the too early created 3.x release issue already: we need to discuss and clarify the DataTables dev statements made here and here to not confuse users and dependencies.
Plus: Typo corrected in issue title.
Comment #15
dqdOne more thanks to all the work in here and on other issues. Very much appreciated. But as I stated already on the too early created 3.x release issue and here above in earlier comments and in some other issues already: we need to discuss and clarify the DataTables dev statements made regarding jQuery dependency and thus the Drupal project will remain depending on jQuery reflecting the DataTables development and release dependency on jQuery.
As I stated already on #2999400: [META] Keep track of DataTables library versions regarding the library: as of April 2025 the last comments of Allen (developer DataTables) show that jQuery dependency will probably stay:
https://datatables.net/forums/discussion/comment/237689/#Comment_237689
https://datatables.net/forums/discussion/comment/239470/#Comment_239470
Comment #16
dqd