How to run datatables without internet

How to run datatables without internet

anant30anant30 Posts: 7Questions: 4Answers: 0

I tried downloading all the resouces of JS and CSS and put it in the project. But still It requires internet to run some functionalities of data tables. Is there a way we can run data tables without intenet connection?

Answers

  • colincolin Posts: 15,158Questions: 1Answers: 2,587

    Hi @anant30 ,

    Nope, DataTables doesn't require any internet connection. You'll need to ensure all the libaries and CSS files are available on your intranet/host, but that's it, it's just a self-contained library.

    Cheers,

    Colin

  • anant30anant30 Posts: 7Questions: 4Answers: 0

    Colin, I did included all JS CSS files, but it still doent load up

    You can see in the attached image that its not loading some of its resouces without internet.

  • colincolin Posts: 15,158Questions: 1Answers: 2,587

    OK, but that doesn't mean they're resources being requested by DataTables. If you look at the network tab on the browser, you can see what's being requested.

  • allanallan Posts: 61,805Questions: 1Answers: 10,119 Site admin

    Worth noting that the download builder has a "Download" option so you can download all of the files locally, and not need to use the CDN.

    Allan

This discussion has been closed.