Responsive not working

Responsive not working

omsoms Posts: 3Questions: 0Answers: 0

Replies

  • kthorngrenkthorngren Posts: 21,181Questions: 26Answers: 4,924

    Looks like you might need to add the responsive extension to your package.json:

      "dependencies": {
        "@angular/animations": "^11.0.8",
        "@angular/common": "^11.0.8",
        "@angular/compiler": "^11.0.8",
        "@angular/core": "^11.0.8",
        "@angular/forms": "^11.0.8",
        "@angular/platform-browser": "^11.0.8",
        "@angular/platform-browser-dynamic": "^11.0.8",
        "@angular/router": "^11.0.8",
        "angular-datatables": "^11.1.2",
        "datatables.net-colreorder": "^1.5.3",
        "datatables.net-colreorder-dt": "^1.5.3",
        "rxjs": "^6.6.3",
        "tslib": "^2.1.0",
        "zone.js": "^0.11.3"
      },
    

    You have included colreorder but not responsive. I might have missed the inclusion though as I'm not familiar with Angular.

    Kevin

  • omsoms Posts: 3Questions: 0Answers: 0

    https://l-lin.github.io/angular-datatables/#/extensions/responsive

    In the above URL, there is no responsive extension required for pacakge.json

  • omsoms Posts: 3Questions: 0Answers: 0

    @kthorngren
    We just need to set true "responsive"

  • kthorngrenkthorngren Posts: 21,181Questions: 26Answers: 4,924

    We just need to set true "responsive"

    And the Responsive extension CSS and JS need to be downloaded and installed. Checkout the Download builder.

    Kevin

This discussion has been closed.