Refreshing data in datatable
Refreshing data in datatable
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
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.