Premium support for our pure JavaScript UI components


Post by bensullivan »

Hi

We'd like to introduce the use of resources for our gantt component. We're still using version 2.1.5.

Could you please refer us to relevant documentation for the gantt component v2.1.5 that details the contract between the gantt component and our API endpoint for saving and retrieving gantt resources.

Thanks

Ben


Post by mats »

This guide explains the data loading / syncing: https://bryntum.com/docs/gantt/#guides/data/crud_manager.md


Post by bensullivan »

Hi mats

This doco doesn't seem to line up with the gantt load example payload: https://www.bryntum.com/examples/gantt/_datasets/launch-saas.json

Do you have JSON schema for the gantt load and sync response/request?

Thanks

Ben


Post by mats »

We are working on a new data guide right now where the schema will be clearly outlined. For now, the docs for each Model class shows all the fields:

https://bryntum.com/docs/gantt/#Gantt/model/TaskModel#fields
https://bryntum.com/docs/gantt/#Gantt/model/ResourceModel#fields
https://bryntum.com/docs/gantt/#Gantt/model/CalendarModel#fields
https://bryntum.com/docs/gantt/#Gantt/model/DependencyModel#fields
https://bryntum.com/docs/gantt/#Gantt/model/AssignmentModel#fields

The overarching JSON object structure can be seen in each examples, as well as in the guide I referenced above.


Post Reply