Callback before data is loaded?

Callback before data is loaded?

kasparkaspar Posts: 2Questions: 2Answers: 0

Is there a callback or event that triggers once as soon as the table as been initialized but before the data is drawn/loaded?

I am using the ajax option to call data from a rather large database. Thats why I am using a custom search function. For this I like to replace the default filter input field with a custom search input field in the top right corner of the table. Currently I am using the initComplete callback to add my own search input field to the table. However because of the large database the data usually takes a second or two to load, after which the search input field is added. I like to added it to the table before the actual data has finished loading.

The preDrawCallback callback comes close, only this is triggered every time there's a new draw.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.