I want to add JSON data to a existing datatable.
The JSON data looks like this:
[
["Trident","Internet Explorer 4.0","Win 95+","4","X","X"],
["Trident","Internet Explorer 4.0","Win 95+","4","X","X"],
["Trident","Internet Explorer 4.0","Win 95+","4","X","X"],
["Trident","Internet Explorer 4.0","Win 95+","4","X","X"]
]
I tried:
$('#' + tab + '_table').dataTable().fnAddData(data);
data is holding the JSON data.
Anything seems wrong there since it adds only one row with this:
