Add "responsive" Option (Extension)

Created on 6 May 2022, almost 3 years ago
Updated 19 April 2025, 5 days ago

Problem/Motivation

https://datatables.net/extensions/responsive Extension would make sense to add as option & load library if enabled.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Merge request !26Responsive datatables work. → (Open) created by nigelcunningham
  • 🇦🇺Australia nigelcunningham Geelong

    I've pushed a MR with work I've done to get responsive datatables working locally. This is a work in progress but I thought I'd share where I've gotten to - perhaps it will save someone else some hours of time. The composer.json isn't working for me - I needed to (in the root directory) run composer require with the following versions, using Asset Packagist support.

    "npm-asset/datatables.net-dt": "^2.2.2",
    "npm-asset/datatables.net-responsive": "^3.0.3",
    "npm-asset/datatables.net-responsive-dt": "^3.0.3",

    I also needed to explicitly set installer-paths (the Wikimedia merge plugin didn't work for me and is apparently deprecated anyway):

    "web/libraries/{$name}": [
    "type:drupal-library",
    "type:npm-asset",
    "type:bower-asset",
    "npm-asset/datatables.net",
    "npm-asset/datatables.net-dt",
    "npm-asset/datatables.net-responsive",
    "npm-asset/datatables.net-responsive-dt"
    ],

Production build 0.71.5 2024