jsvar table = $('#table').dataTables({
"columns": [
{"title": "Col 1", "width": "80%"},
{"title": "Col 2", "width": "20%"},
]
});
$('#btnAddData').click(function () {
var arr = [
[1, 2],
[2, 3]
];
table._fnClearTable();
table._fnAddData(arr);
table._fnReDraw(); // or table._fnDraw();
});
Dont Work