Regarding pagination on client side

Regarding pagination on client side

KedarKedar Posts: 2Questions: 0Answers: 0
edited October 2009 in Bug reports
Dear Allan,

When "sAjaxSource" value is given , the searching,sorting,pagination operations on client side are getting disabled ,is there any way to enable client-side processing.

The requirement is Once the data comes from server and gets loaded into datatable the pagination,searching,sorting components should not make any request to server. They should process the data obtained from server on client-side. Where as reloading of new data is done seperately using fnDraw() called during other events.

Regards,
Kedar

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi Kedar,

    Sounds a little odd that! Here is my demo of sourcing a JSON file but doing client-side processing on the retrieved data: http://datatables.net/examples/data_sources/ajax.html . From there, reloading of data should be done using either the fnReloadAjax plug-in (if you want to reload the entire table) or fnUpdate with your new data.

    Hope this helps,
    Allan
This discussion has been closed.