sEcho parameter not passed when using fnReloadAjax

sEcho parameter not passed when using fnReloadAjax

holobeatholobeat Posts: 5Questions: 0Answers: 0
edited November 2010 in General
Hello,

I am successfully using server side Ajax load for initial data load, but I cannot reload data using the plugin function fnReloadAjax(). When I look at the request URL, it looks like this:

[code]http://localhost/routeapp/customers/getaddresses?CustomerId=0&_=1291154366082[/code]

The URL is missing sEcho parameter. Why? I am just reloading the same data, using oTable.fnReloadAjax(). The oTable object has not changed since the datatable initialization.

Any help with this is highly appreciated.

Cheers,
Gustav

Replies

  • holobeatholobeat Posts: 5Questions: 0Answers: 0
    I have found the answer in this forum. To reload data to the datatable from another data source, you can simply do this:

    [code]
    oTable.fnSettings().sAjaxSource = MyURL;
    oTable.fnDraw();
    [/code]

    DataTables rocks!
This discussion has been closed.