Case sensitivity problem

Case sensitivity problem

simonvsimonv Posts: 2Questions: 1Answers: 0

Hi,
awesome plugin but I've got a problem. I created a table and added two columns. One hast a checkbox in every row and the other one has a button titled "Detail" in every row. The problem is that the checkboxes and the filtering work if I wrote:
oTable = $('#example').dataTable({}); but the detail button only works with oTable = $('#example').DataTable({});

I searched for an answer but I didn't find one so I would really appreciate it !

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,969Questions: 1Answers: 10,362 Site admin
    Answer ✓

    Sounds like you are using a mix of the old API (the fn* functions) and the new API. Information about this can be found in the FAQs.

    I would suggest using only the new API (or only the old API if you have to) rather than a mix of them. You can mix the two if you need, but you need a reference object to both by calling both $().DataTable() and $().dataTable().

    Allan

  • simonvsimonv Posts: 2Questions: 1Answers: 0

    Thanks Allan !

This discussion has been closed.