Premium support for our pure JavaScript UI components


Post by dwr »

We have a postgres backend where we're store our data. On the front end, a user can choose which project to load. When they choose one, we call the Crud manager load() passing the project ID in the request. This all works well.

Going the other way, we're using autosync = true so changes get automatically sent. We need to send the project ID in these sync requests too. The doc.s describe how to do this for static data (https://bryntum.com/docs/gantt/guide/Scheduler/data/crud_manager#saving-data), but we need to this for dynamic data, as the user can choose to load any project they want.

What does Bryntum recommend to have the client pass the current project ID with every sync request (kicked off via auto sync)? Is there some event to latch on to prior to the request send where it could be set? Other ideas? Thanks!



Post by dwr »

That sounds perfect, thanks!


Post Reply