Preload DataTables and use server side processing for subsequent requests
Preload DataTables and use server side processing for subsequent requests

I would like to pre-load DataTables when rendering the page (via JavaScript array) and then have any subsequent requests (such as pagination) done via server-side processing.
I have provided "aaData" JavaScript array when the page initially loads, but when supplying "bServerSide=true", DataTables will issue another Ajax call.
How can I preload DataTables with JavaScript and then "switch" to server-side processing so that any subsequent requests are executed via the server-side script?
I have provided "aaData" JavaScript array when the page initially loads, but when supplying "bServerSide=true", DataTables will issue another Ajax call.
How can I preload DataTables with JavaScript and then "switch" to server-side processing so that any subsequent requests are executed via the server-side script?
This discussion has been closed.
Replies
Allan