Change request model and delta changes

Discuss anything related to web development but *no* technical support questions
Post Reply
User avatar
sandippatel
Posts: 18
Joined: Wed Oct 28, 2020 8:47 am

Change request model and delta changes

Post by sandippatel »

Hello

Would it be possible to change the sync request structure for Bryntum Gantt?

I have examine that when we sync the data Bryntum automatically generate the sync request and call the API.I want only few field to be sync on server rather than whole sync request. would it be possible?

Also I have seen that it gives me delta changes rather whole data. what need to be done to get the whole data available on Bryntum Gantt chart?

Thanks for your amazing support.


User avatar
sergey.maltsev
Core Developer
Core Developer
Posts: 682
Joined: Mon Dec 24, 2018 9:15 am

Re: Change request model and delta changes

Post by sergey.maltsev »

Hi!

I can suggest you to use

This method to convert CrudManager format to any server request format you need
https://www.bryntum.com/docs/gantt/#Scheduler/crud/AbstractCrudManagerMixin#function-encode

This method to convert any server response to CrudManager format
https://www.bryntum.com/docs/gantt/#Scheduler/crud/AbstractCrudManagerMixin#function-decode

Check this option to have all fields for sync requests
https://www.bryntum.com/docs/gantt/#Gantt/model/ProjectModel#config-writeAllFields

Also please refer to this info
https://www.bryntum.com/docs/gantt/#guides/data/crud_manager.md


Post Reply