Get Fresh data after postEdit in editor?

Get Fresh data after postEdit in editor?

SaomairSaomair Posts: 2Questions: 1Answers: 0

i have three parameters time_in,time_out,hours so if user change time_in or time_out then hours calculated automatically.so thats why i am using postEdit for that
But after update it is returning old hours and if i reload the whole table then it takes time.
DO we have any solution to update returning array on success of postEdit so then i can access updated hours?

Answers

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin

    Is the postEdit the Javascript event or the PHP event? On the server-side I would suggest using preEdit, while on the client-side (depending on which way you are doing it) I would suggest using preSubmit.

    Allan

This discussion has been closed.