Datatable Editor submits onblur and displays a rotating spinner while server responds
Datatable Editor submits onblur and displays a rotating spinner while server responds
drrk
Posts: 1Questions: 1Answers: 0
I am trialing the editor extension and trying to implement submit on blur as shown in this example here:
https://editor.datatables.net/examples/inline-editing/options.html
The example works fine. However, I would like to display a rotating spinner before the response from the server is received.
This discussion has been closed.
Answers
Hi,
The built in "processing" display of Editor doesn't actually display when inline editing - mainly because of the layout constrains when working with inline editing.
Having said that you could use the
preSubmit
andsubmitComplete
events to display a processing message of any form that you wish. Just show it onpreSubmit
and hide onsubmitComplete
.Regards,
Allan