Editor: more time + local editing with custom functions
Editor: more time + local editing with custom functions
My company has a custom framework, and I won't be able to make AJAX calls. I would like to see some examples of how to capture a change (edit, update, delete), and then I would like to feed that change to our functions that handle CRUD operations. Can you point me to the correct article?
Also: I'm probably going to need more than 15 days to figure out how to work this. How do I get more time before committing to the purchase?
Thanks!
This question has an accepted answers - jump to answer
Answers
So, I can answer 1/2 of my own question:
Sounds like DT calls this "local editing". Basically, I think I need to capture CRUD events through the
.on('preSubmit' ...)listener, and then call my custom functions that handle server-side communication with the correspondingdataobject created in thepreSubmitlistener. Something like below.Does that seem right?
There are two approached you can take to your first question:
ajaxto define your own Ajax call, or call to whatever storage mechanism you are using. This example shows it being used to make use oflocalStoragefor example.My personal preference is option 2 since you can then hook into the standard request / response that Editor expects for validation etc much easier.
Regarding the trial extension - when the existing 15 day trial runs out you'll get an e-mail saying that it is finished. Just drop me a reply and I'll extend the trial for you.
Regards,
Allan