Thank you for your reply. Sorry if my question did not convey the request properly.
Using bryntum-gantt version 2.1.9
I'll try to describe the situation a bit differently.
When a user loads our application then we initialize the Gantt component. On render it calls onLoad
, and our application returns the data to the Gantt component and renders the data as expected.
We have an Action Column that displays a comment bubble icon with the number of comments related to this task. See below:
- Gantt Task Comments.png (102.78 KiB) Viewed 1040 times
When a user invokes the action, then it triggers a callback which renders a component outside of the Gantt component, which used for viewing and adding comments. When the user creates a new comment in this external component, then we want to push this new comment count into the Task's store.
From what I have seen, the only way to update the store is from an onSync
or onLoad
response. Though, in the above example, there is no onSync
or onLoad
request to respond to when this comment count changes.
Any subsequent onSync
requests will include the new comment count in the response and update the Task's store as expected, but I was hoping to be able to push these changes to the store without requiring an onSync
/onLoad
request.
Hopefully that helps explain the information request a bit better.