Our powerful JS Calendar component


Post by ggalvagno »

Hello
I'm trying to save calendars modification into a Db with an external PHP

Everything works fine when I change an existing element

When I add an element, the main_calendar_cmd.php goes in loop, I mean is called endlessly until I close Chrome
In "main_calendar_cmd.php" after Insert and Update I return always

"success":true"

in Json format


Post by mats »

Any warnings on the console? After insert, you need to always return the "real" id created in your database and return it. See the "sync response structure" section here: https://www.bryntum.com/docs/calendar#Calendar/guides/data/crud_manager.md#sync-response-structure


Post Reply