Datatable Editor submits onblur and displays a rotating spinner while server responds

Datatable Editor submits onblur and displays a rotating spinner while server responds

drrkdrrk 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.

Answers

  • allanallan Posts: 61,686Questions: 1Answers: 10,100 Site admin

    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 and submitComplete events to display a processing message of any form that you wish. Just show it on preSubmit and hide on submitComplete.

    Regards,
    Allan

This discussion has been closed.