why can I use the API?

why can I use the API?

longer3436longer3436 Posts: 2Questions: 1Answers: 0

first I get a instance of datatable:

var myTable = $('#datatable').dataTable();

but when I use the API like this:

myTable.row.add(el).draw( false );

I got the exception:Unable to get property 'add' of undefined or null reference
what happend ?

Answers

This discussion has been closed.