stateLoadCallback without sync request

stateLoadCallback without sync request

pkwdadminpkwdadmin Posts: 8Questions: 1Answers: 1

Has there been any progress on this?

https://datatables.net/forums/discussion/24934/is-it-possible-to-load-the-config-of-datatables-async

Currently, to avoid the synchronous request I'm manually doing an async request before my DataTable is initialized, which isn't ideal.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    Answer ✓

    Currently no. A method which allow state information to be loaded at any point will be available in the next major update to DataTables.

    If you need it now, you would need to use the API to do it - probably wrapping the API calls up into an API plug-in method.

    Allan

This discussion has been closed.