How to refresh current page

How to refresh current page

nobody.gavinnobody.gavin Posts: 5Questions: 0Answers: 0
edited March 2010 in General
Please check code below:

[code]
"fnDrawCallback": function() {
$j("#dtCurveStatus tbody td:nth-child(5) select").bind("change", function(){
$j.ajax({
"dataType": 'json',
"type": "POST",
"url": "ModifyXXXXXAction.do?actionToCall=editStatus",
"data": inputParam,
"success": function() {
// I'd like do it here!
}
});
});
[/code]
There are multiple pages in my data tables, if I modified any cell (in this case, it is DropDownList) in any page (>1), then I commit this change to server side using JSON, after that, I'd like refresh current page(e.g., page 2), how should I do?
I used to use fnReloadAjax(); but it always jump to first page.

Any suggestion, Thanks.

Replies

  • nobody.gavinnobody.gavin Posts: 5Questions: 0Answers: 0
    edited March 2010
    I have figured it out.

    oTable.fnDraw();

    Cheers!
This discussion has been closed.