Refreshing data in datatable

Refreshing data in datatable

sanovasanova Posts: 8Questions: 0Answers: 0
edited May 2012 in General
Hi,

I'm looking for a method to reload data into datatable after adding or deleting some record.
I have just tried this one function but it not properly reload data:

[code]
function RefreshTable(tableId, urlData) {
$.getJSON(urlData, null, function( json ){
table = $(tableId).dataTable();
oSettings = table.fnSettings();
table.fnClearTable(this);
for (var i=0; i
This discussion has been closed.