Version 1.7.6 - How set property sAjaxSource
Version 1.7.6 - How set property sAjaxSource
How I do to set property sAjaxSource and reload datable. Here my script;
if (typeof oTable == 'undefined') {
oTable = $(objElement).dataTable({
"sAjaxSource": url} );
}
else
{
//Is possible set property sAjaxSource here?
oTable.fnClearTable( 0 );
oTable.fnDraw();
}
if (typeof oTable == 'undefined') {
oTable = $(objElement).dataTable({
"sAjaxSource": url} );
}
else
{
//Is possible set property sAjaxSource here?
oTable.fnClearTable( 0 );
oTable.fnDraw();
}
This discussion has been closed.
Replies
Allan
var oSettings = oTable1.fnSettings();
oSettings.sAjaxSource = url;
oTable1.fnClearTable( 1 );
oTable1.fnDraw();
Thank you