Get Fresh data after postEdit in editor?
Get Fresh data after postEdit in editor?
Saomair
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?
This discussion has been closed.
Answers
Is the
postEdit
the Javascript event or the PHP event? On the server-side I would suggest usingpreEdit
, while on the client-side (depending on which way you are doing it) I would suggest usingpreSubmit
.Allan