Refresh function not works
Refresh function not works
Hello,
The fnDraw Function not works. I have this function
[code]
function DuplicaPrice(idprice){
$.get("prices.php", { idprice: idprice},
function(data){
alert('OK!');
oTable.fnDraw();
});
}
[/code]
but the table not refres.
My table declaration:
[code]
oTable = $('#prices').dataTable( {
"sDom": 'l<"clear">Tfrtip',
"bPaginate": true,
"iDisplayLength": 50,
"aaSorting": [[ 8, "asc" ]],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"sAjaxSource": "prices.php"
...
...
...
[/code]
Please helpp !!
Tahnk you
The fnDraw Function not works. I have this function
[code]
function DuplicaPrice(idprice){
$.get("prices.php", { idprice: idprice},
function(data){
alert('OK!');
oTable.fnDraw();
});
}
[/code]
but the table not refres.
My table declaration:
[code]
oTable = $('#prices').dataTable( {
"sDom": 'l<"clear">Tfrtip',
"bPaginate": true,
"iDisplayLength": 50,
"aaSorting": [[ 8, "asc" ]],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"sAjaxSource": "prices.php"
...
...
...
[/code]
Please helpp !!
Tahnk you
This discussion has been closed.
Replies
What exactly are you trying to do?
Allan
Than you!
I use the fnReloadAjax function and now works !!
Than you again!