Auto-Save feature – where is it?
Auto-Save feature – where is it?
Hello,
I might be wrong but somewhere I saw feature for DataTables Editor AUTO-SAVE. When you type or change any fields, the form autosaves.
But I did not find it anyhere.
Was it removed? Or was it never there?
Peter
PS: I do not mean state saving https://datatables.net/examples/basic_init/state_save.html.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Are you looking for the Editor inline editing feature?
https://editor.datatables.net/examples/inline-editing/index.html
Kevin
I suspect that you are looking for the submit on blur option?
Allan
Thank you both for your time and the answers.
But no, I did not mean any of those.
Imagine Basic initialisation:
If I refresh the site, close the form by mistake or computer freezes, the unfinished row would still be present in DataTable and user could return to finish it later.
Do you know what kind of autosave do I mean?
Note: This would be useful in big forms with many fields.
Thank you both for your time and the answers.
But unfortunately no, I did not mean any of those.
Imagine Basic initialisation:
If I refresh the site, close the form by mistake or computer freezes, the unfinished row would still be present in DataTable and I could return to finish it later.
Note: This would be useful in big forms with many fields.
I don't believe there was ever such an option in Editor (at least there wasn't an intentional feature like that). It would be perfectly possible to do with a little external code saving the input values to
localStorage
and then populating the data again when the page is reloaded, or clear the data if it is submitted successfully.Might be an interesting blog post that, but I'm afraid there isn't such a built in option.
Regards,
Allan
Allan, thank you for the information.
Btw I wish you all the best in this New Year!