Not working with php

Not working with php

gcdiazgcdiaz Posts: 2Questions: 0Answers: 0

Im trying to install this plugin in a php app. I have split different parts of the index.php into files.php; <head>, <navbar>, <scripts>, etc. I include the cdn css into the head.php file, also the cdn script into the scripts.php file, I create the table and the id="myTable", I include the class="display", and after the include 'path/scripts.php' I include the document.ready function that initialize the table. I also hardcode the document.ready into the index.php at the bottom after the scripts.php. What I'm missing here?
I'll appreciate any help!

Replies

  • allanallan Posts: 61,847Questions: 1Answers: 10,134 Site admin

    It sounds like you've done what is needed. I'd need a link to the page (per the forum rules) to be able to identify why it isn't working as expected.

    Allan

  • gcdiazgcdiaz Posts: 2Questions: 0Answers: 0

    I got it working on PHP.

    Do you know how to use this plugin with AngularJS?
    Any resources I can read or videos?

  • allanallan Posts: 61,847Questions: 1Answers: 10,134 Site admin

    It isn't written, published, maintained or supported by myself, but you might want to take a look at this software which is a bridge between DataTables and Angular.

    Allan

This discussion has been closed.