Error Datatble

Error Datatble

vitthovittho Posts: 2Questions: 1Answers: 0

Hello, I have a question, datatable does not work in code, it only does it in the browser console, not at the time of loading, why is that error?

Answers

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    You will need to provide more information. What error are you getting. When are you getting the error. What is your Datatable initialization code?

    Kevin

  • vitthovittho Posts: 2Questions: 1Answers: 0

    it doesn't show me errors, I have:
    $(document).ready(function () {
    $('#tbl_ett_creadas').DataTable();
    })
    in my code and that doesn't work out, it only applies the datatable when I call it directly in the chrome $ console ('# tbl_id'). DataTable();
    my table has the

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    The working ('# tbl_id'). DataTable(); seems to have a different table ID from the non-working $('#tbl_ett_creadas').DataTable();. Without actually seeing the issue it will be impossible to provide suggestions. Please provide a link to your page or a test case replicating the issue.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

This discussion has been closed.