aaData and serverside paging
aaData and serverside paging
I'm trying to bind my grid to a local array of data (which is working great), but I need to implement serverside processing for paging support. I can't expose a url with access to this data, we currently use an internal set of javascript callbacks to gather the data from the server. The server calls are ready to support paging, I just can't figure out how to override fnServerData to hook in the data returned from the previous callback. Are there any examples online for wiring up paging with a javascript array datasource? or maybe any pointers from someone that might have done something similar?
This discussion has been closed.
Replies
DataTables currently supports either fully client-side processing or fully server-side processing - not a mix of the two. For example you can't do filtering client-side and paging server-side (since filtering requires the full data set, which the client-side doesn't have).
The closest you can get is Ajax loading data, an using fnReloadAjax to reload data as needed. However, that doesn't allow paging support since again, that is either client-side or server-side only.
Allan