$('table#js-datatables').DataTable({
pageLength: 5,
searching: false,
ordering: false,
lengthChange: false,
info: false,
"language": {
"paginate": {
"previous": "«",
"next": "»"
}
},
});
$('table#js-datatables.js-ajalugu').DataTable().row.add( [thing1,thing2,thing3] ).draw(false);
So while trying to simply add a row, firstly it doesn't add anything and I don't get an error either.
Secondly the draw will reset the initial options of the table, is it required to put things like the pageLength into each Datatable() function with the draw?
What syntax does it require?