function row add don't works
function row add don't works
Emyleen
Posts: 21Questions: 8Answers: 0
Hello everybody,
I try to use the function row.add() https://datatables.net/reference/api/row.add() but my browser tell me that it doesn't exist :
TypeError: oTable.row is undefined
Yet I have a good table :
var oTable = $('#data_table").DataTable();
I don't understand why it doesn't work.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I try a test on this : http://live.datatables.net/daceqox/1/edit
There are errors in the console.
ok it doesn't work so you can use fnAddData() instead.
See the second FAQ. The
fn*
methods are the old API, I'd recommend using the new one.Allan