Hi
We are trying to integrate Scheduler and Grid components (Drag from Grid to Scheduler) in a Laravel project and really struggling into documentation to achieve this.
Can someone give us clues on how to do this ?
Thanks
Support Forum
You need to know some basics first:
1. JS - https://developer.mozilla.org/en-US/docs/Web/JavaScript
2. JSON is the format used to load/save data: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON
3. Data can be loaded in two ways, one request per entity (using ajax store, or load all entities in one request with CrudManager). Our AjaxStore class: https://bryntum.com/docs/scheduler/#Common/data/AjaxStore and the crudManager class: https://bryntum.com/docs/scheduler/#Scheduler/crud/AbstractCrudManager
4. Our ajax mechanism uses the Fetch api: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Start by using one of our simpler examples, like the PHP sample. Notice how it sends the data back and forth to load/update data. I assume you know your Laravel backend and understand JSON parsing. Then once you have the PHP demo running, applying knowledge from first demo should make it easy to implement the drag from grid demo. Where exactly do you get stuck?
1. JS - https://developer.mozilla.org/en-US/docs/Web/JavaScript
2. JSON is the format used to load/save data: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON
3. Data can be loaded in two ways, one request per entity (using ajax store, or load all entities in one request with CrudManager). Our AjaxStore class: https://bryntum.com/docs/scheduler/#Common/data/AjaxStore and the crudManager class: https://bryntum.com/docs/scheduler/#Scheduler/crud/AbstractCrudManager
4. Our ajax mechanism uses the Fetch api: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Start by using one of our simpler examples, like the PHP sample. Notice how it sends the data back and forth to load/update data. I assume you know your Laravel backend and understand JSON parsing. Then once you have the PHP demo running, applying knowledge from first demo should make it easy to implement the drag from grid demo. Where exactly do you get stuck?