Server Side Processing – Local json object usage

Server Side Processing – Local json object usage

manojhanchatemanojhanchate Posts: 2Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
I have the data present as a local json object, which is generated by the external web service. I don’t have control on the external web service to have the json object modified in the Datatables specific format. Could it be possible to use the new local json object which is created (client side) using the data present in the original json object. Please note that the data volume is high and I wanted to achieve all sorting, filtering and paging options too.

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    DataTables can use any JSON data source through the use of mRender and sAjaxDataProp : http://datatables.net/blog/Extended_data_source_options_with_DataTables .

    If you want to use server-side processing, then a local JSON object isn't going to work, since you'd need to load the whole lot to the client-side anyway.

    Allan
This discussion has been closed.