DataTables on usb pen drive and static data?

DataTables on usb pen drive and static data?

soundiversoundiver Posts: 2Questions: 1Answers: 0
edited October 2017 in Free community support

Hello, is it possible to create a simple html page on a usb pend drive qithe DataTables and static data to feed the table? (no database calls o remote servers).

Thank You

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin
    Answer ✓

    The only thing I can think of that might be a hurdle with this is that browser's won't allow Ajax requests to file://. Doing so would be a very significant security risk. So you couldn't Ajax load JSON data - that isn't a limitation of DataTables, but a security restriction in the browsers.

    You could perhaps include the JSON data in your HTML file as just a Javascript variable if it isn't going to change (use data).

    Allan

  • soundiversoundiver Posts: 2Questions: 1Answers: 0

    Thank you very much!

This discussion has been closed.